1 package SGN
::Schema
::TmMarker
;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base
'DBIx::Class::Core';
18 __PACKAGE__
->table("tm_markers");
28 sequence: 'tm_markers_tm_id_seq'
33 default_value: '0)::bigint'
40 default_value: (empty string)
67 __PACKAGE__
->add_columns(
70 data_type
=> "integer",
71 is_auto_increment
=> 1,
74 sequence
=> "tm_markers_tm_id_seq",
78 data_type
=> "bigint",
79 default_value
=> "0)::bigint",
84 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 32 },
86 { data_type
=> "varchar", is_nullable
=> 1, size
=> 32 },
88 { data_type
=> "bigint", is_nullable
=> 1 },
90 { data_type
=> "bigint", is_nullable
=> 1 },
92 { data_type
=> "text", is_nullable
=> 1 },
94 __PACKAGE__
->set_primary_key("tm_id");
102 Related object: L<SGN::Schema::Marker>
106 __PACKAGE__
->belongs_to(
108 "SGN::Schema::Marker",
109 { marker_id
=> "marker_id" },
110 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
117 Related object: L<SGN::Schema::TmMarker>
121 __PACKAGE__
->belongs_to(
123 "SGN::Schema::TmMarker",
124 { tm_id
=> "tm_id" },
125 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
132 Related object: L<SGN::Schema::TmMarker>
136 __PACKAGE__
->might_have(
138 "SGN::Schema::TmMarker",
139 { "foreign.tm_id" => "self.tm_id" },
140 { cascade_copy
=> 0, cascade_delete
=> 0 },
144 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
145 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BU0F27X8KB5C22+IezQUxA
148 # You can replace this text with custom content, and it will be preserved on regeneration