1 package Traditions::Schema::Result::Collation;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base 'DBIx::Class::Core';
14 Traditions::Schema::Result::Collation
18 __PACKAGE__->table("collations");
41 __PACKAGE__->add_columns(
43 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
45 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
47 { data_type => "text", is_nullable => 1 },
49 __PACKAGE__->set_primary_key("collationid");
57 Related object: L<Traditions::Schema::Result::Reading>
61 __PACKAGE__->has_many(
63 "Traditions::Schema::Result::Reading",
64 { "foreign.collation" => "self.collationid" },
65 { cascade_copy => 0, cascade_delete => 0 },
72 Related object: L<Traditions::Schema::Result::Text>
76 __PACKAGE__->belongs_to(
78 "Traditions::Schema::Result::Text",
80 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
84 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2010-10-19 17:34:43
85 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+l31v5NCx//HtluCu+1JeQ
88 # You can replace this text with custom content, and it will be preserved on regeneration