1 package SGN
::Schema
::DerivedFromSource
;
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::DerivedFromSource
18 __PACKAGE__
->table("derived_from_source");
22 =head2 derived_from_source_id
27 sequence: 'derived_from_source_derived_from_source_id_seq'
52 __PACKAGE__
->add_columns(
53 "derived_from_source_id",
55 data_type
=> "integer",
56 is_auto_increment
=> 1,
58 sequence
=> "derived_from_source_derived_from_source_id_seq",
61 { accessor
=> undef, data_type
=> "text", is_nullable
=> 1 },
63 { data_type
=> "text", is_nullable
=> 1 },
65 { data_type
=> "text", is_nullable
=> 1 },
67 { data_type
=> "text", is_nullable
=> 1 },
69 __PACKAGE__
->set_primary_key("derived_from_source_id");
70 __PACKAGE__
->add_unique_constraint(
71 "derived_from_source_source_schema_key",
72 ["source_schema", "source_table", "source_col"],
77 =head2 markers_derived_from
81 Related object: L<SGN::Schema::MarkerDerivedFrom>
85 __PACKAGE__
->has_many(
86 "markers_derived_from",
87 "SGN::Schema::MarkerDerivedFrom",
89 "foreign.derived_from_source_id" => "self.derived_from_source_id",
91 { cascade_copy
=> 0, cascade_delete
=> 0 },
95 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
96 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ruLxFFQtkZYBM0p4UbMSJw
99 # You can replace this text with custom content, and it will be preserved on regeneration