]>
Dogcows Code - chaz/chatty/blob - lib/Chatty/Schema/Result/Room.pm
2 package Chatty
::Schema
::Result
::Room
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Chatty::Schema::Result::Room
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");
37 __PACKAGE__-
>table("room");
54 data_type: 'timestamp'
55 default_value: current_timestamp
60 __PACKAGE__-
>add_columns(
62 { data_type
=> "integer", is_auto_increment
=> 1, is_nullable
=> 0 },
64 { data_type
=> "text", is_nullable
=> 1 },
67 data_type
=> "timestamp",
68 default_value
=> \"current_timestamp
",
83 __PACKAGE__->set_primary_key("id
");
85 =head1 UNIQUE CONSTRAINTS
97 __PACKAGE__->add_unique_constraint("name_unique
", ["name
"]);
105 Related object: L<Chatty::Schema::Result::Account>
109 __PACKAGE__->has_many(
111 "Chatty
::Schema
::Result
::Account
",
112 { "foreign
.current_room
" => "self
.id
" },
113 { cascade_copy => 0, cascade_delete => 0 },
117 # Created by DBIx::Class::Schema::Loader v0.07015 @ 2012-01-03 16:46:51
118 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:36bNroQtVWZPWUMc+6yAQw
121 # You can replace this text with custom code or comments, and it will be preserved on regeneration
122 __PACKAGE__->meta->make_immutable;
This page took 0.040642 seconds and 5 git commands to generate.