]>
Dogcows Code - chaz/chatty/blob - lib/Chatty/Schema/Result/Message.pm
796a7978a69e447da07fb6307c6556b5da01e57e
1 package Chatty
::Schema
::Result
::Message
;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
11 use namespace
::autoclean
;
12 extends
'DBIx::Class::Core';
14 __PACKAGE__-
>load_components("InflateColumn::DateTime", "TimeStamp");
18 Chatty::Schema::Result::Message
22 __PACKAGE__-
>table("message");
34 data_type: 'timestamp'
50 __PACKAGE__-
>add_columns(
52 { data_type
=> "integer", is_auto_increment
=> 1, is_nullable
=> 0 },
54 { data_type
=> "timestamp", is_nullable
=> 1 },
56 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 1 },
58 { data_type
=> "text", is_nullable
=> 1 },
60 __PACKAGE__-
>set_primary_key("id");
68 Related object: L<Chatty::Schema::Result::Account>
72 __PACKAGE__-
>belongs_to(
74 "Chatty::Schema::Result::Account",
79 on_delete
=> "CASCADE",
80 on_update
=> "CASCADE",
85 # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-10-13 16:46:39
86 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dgMXiWuIhmCQeExkpcxorA
89 # You can replace this text with custom code or comments, and it will be preserved on regeneration
90 __PACKAGE__-
>meta->make_immutable;
This page took 0.039255 seconds and 4 git commands to generate.