1 package SGN
::Schema
::MarkerAlias
;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base
'DBIx::Class::Core';
14 SGN::Schema::MarkerAlias
18 __PACKAGE__
->table("marker_alias");
27 sequence: 'marker_alias_alias_id_seq'
48 __PACKAGE__
->add_columns(
51 data_type
=> "integer",
52 is_auto_increment
=> 1,
54 sequence
=> "marker_alias_alias_id_seq",
57 { data_type
=> "text", is_nullable
=> 0 },
59 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
61 { data_type
=> "boolean", default_value
=> \"true
", is_nullable => 1 },
63 __PACKAGE__->set_primary_key("alias_id
");
64 __PACKAGE__->add_unique_constraint("marker_alias_alias_key
", ["alias
"]);
72 Related object: L<SGN::Schema::Marker>
76 __PACKAGE__->belongs_to(
78 "SGN
::Schema
::Marker
",
79 { marker_id => "marker_id
" },
80 { is_deferrable => 1, on_delete => "CASCADE
", on_update => "CASCADE
" },
84 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
85 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:E+03TkLOicO7zNp3CmApfA
88 # You can replace this text with custom content, and it will be preserved on regeneration