]>
Dogcows Code - chaz/chatty/blob - lib/Chatty/Schema/Result/Account.pm
2 package Chatty
::Schema
::Result
::Account
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Chatty::Schema::Result::Account
18 use MooseX
::MarkAsMethods autoclean
=> 1;
19 extends
'DBIx::Class::Core';
21 =head1 COMPONENTS LOADED
25 =item * L<DBIx::Class::InflateColumn::DateTime>
31 __PACKAGE__-
>load_components("InflateColumn::DateTime");
33 =head1 TABLE: C<account>
37 __PACKAGE__-
>table("account");
60 default_value: 'active'
71 __PACKAGE__-
>add_columns(
73 { data_type
=> "integer", is_auto_increment
=> 1, is_nullable
=> 0 },
75 { data_type
=> "text", is_nullable
=> 1 },
77 { data_type
=> "text", is_nullable
=> 0 },
79 { data_type
=> "text", default_value
=> "active", is_nullable
=> 1 },
81 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 1 },
94 __PACKAGE__-
>set_primary_key("id");
96 =head1 UNIQUE CONSTRAINTS
98 =head2 C<username_unique>
108 __PACKAGE__-
>add_unique_constraint("username_unique", ["username"]);
116 Related object: L<Chatty::Schema::Result::Room>
120 __PACKAGE__-
>belongs_to(
122 "Chatty::Schema::Result::Room",
123 { id
=> "current_room" },
127 on_delete
=> "CASCADE",
128 on_update
=> "CASCADE",
133 # Created by DBIx::Class::Schema::Loader v0.07015 @ 2012-01-03 16:58:35
134 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vESFaWXuN0WYXW2Y18BfRg
137 # You can replace this text with custom code or comments, and it will be preserved on regeneration
138 __PACKAGE__-
>meta->make_immutable;
This page took 0.045623 seconds and 5 git commands to generate.