« Schema/AppKitAuthDB/Result/RoleAllowed.pm
↑ Summary
Schema/AppKitAuthDB/Result/UsersParameter.pm »
| 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__ |