| 1 | package OpusVL::AppKit::Schema::AppKitAuthDB::Result::UsersData; | ||
| 2 | |||
| 3 | # Created by DBIx::Class::Schema::Loader | ||
| 4 | # DO NOT MODIFY THE FIRST PART OF THIS FILE | ||
| 5 | |||
| 6 | use strict; | ||
| 7 | use warnings; | ||
| 8 | |||
| 9 | use base 'DBIx::Class::Core'; | ||
| 10 | |||
| 11 | __PACKAGE__->load_components("InflateColumn::DateTime", "TimeStamp"); | ||
| 12 | |||
| 13 | |||
| 14 | __PACKAGE__->table("users_data"); | ||
| 15 | |||
| 16 | |||
| 17 | __PACKAGE__->add_columns( | ||
| 18 | "id", | ||
| 19 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||
| 20 | "users_id", | ||
| 21 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||
| 22 | "key", | ||
| 23 | { data_type => "text", is_nullable => 0 }, | ||
| 24 | "value", | ||
| 25 | { data_type => "text", is_nullable => 0 }, | ||
| 26 | ); | ||
| 27 | __PACKAGE__->set_primary_key("id"); | ||
| 28 | |||
| 29 | |||
| 30 | __PACKAGE__->belongs_to( | ||
| 31 | "user", | ||
| 32 | "OpusVL::AppKit::Schema::AppKitAuthDB::Result::User", | ||
| 33 | { id => "users_id" }, | ||
| 34 | { on_delete => "CASCADE", on_update => "CASCADE" }, | ||
| 35 | ); | ||
| 36 | |||
| 37 | |||
| 38 | # Created by DBIx::Class::Schema::Loader v0.07000 @ 2010-05-24 12:44:30 | ||
| 39 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:114U0Ljc/s4Hsusm7WyD9A | ||
| 40 | |||
| 41 | __END__ | ||
| 42 | |||
| 43 | =pod | ||
| 44 | |||
| 45 | =encoding UTF-8 | ||
| 46 | |||
| 47 | =head1 NAME | ||
| 48 | |||
| 49 | OpusVL::AppKit::Schema::AppKitAuthDB::Result::UsersData | ||
| 50 | |||
| 51 | =head1 VERSION | ||
| 52 | |||
| 53 | version 1 | ||
| 54 | |||
| 55 | =head1 NAME | ||
| 56 | |||
| 57 | OpusVL::AppKit::Schema::AppKitAuthDB::Result::UsersData | ||
| 58 | |||
| 59 | =head1 ACCESSORS | ||
| 60 | |||
| 61 | =head2 id | ||
| 62 | |||
| 63 | data_type: 'integer' | ||
| 64 | is_auto_increment: 1 | ||
| 65 | is_nullable: 1 | ||
| 66 | |||
| 67 | =head2 users_id | ||
| 68 | |||
| 69 | data_type: 'integer' | ||
| 70 | is_foreign_key: 1 | ||
| 71 | is_nullable: 0 | ||
| 72 | |||
| 73 | =head2 key | ||
| 74 | |||
| 75 | data_type: 'text' | ||
| 76 | is_nullable: 0 | ||
| 77 | |||
| 78 | =head2 value | ||
| 79 | |||
| 80 | data_type: 'text' | ||
| 81 | is_nullable: 0 | ||
| 82 | |||
| 83 | =head1 RELATIONS | ||
| 84 | |||
| 85 | =head2 user | ||
| 86 | |||
| 87 | Type: belongs_to | ||
| 88 | |||
| 89 | Related object: L<OpusVL::AppKit::Schema::AppKitAuthDB::Result::User> | ||
| 90 | |||
| 91 | =head1 AUTHOR | ||
| 92 | |||
| 93 | Colin Newell <colin@opusvl.com> | ||
| 94 | |||
| 95 | =head1 COPYRIGHT AND LICENSE | ||
| 96 | |||
| 97 | This software is copyright (c) 2016 by OpusVL. | ||
| 98 | |||
| 99 | This is free software; you can redistribute it and/or modify it under | ||
| 100 | the same terms as the Perl 5 programming language system itself. | ||
| 101 | |||
| 102 | =cut |