1 package SGN
::Schema
::DerivedFromSource
;
6 use base
'DBIx::Class';
8 __PACKAGE__
->load_components("Core");
9 __PACKAGE__
->table("derived_from_source");
10 __PACKAGE__
->add_columns(
11 "derived_from_source_id",
13 data_type
=> "integer",
14 default_value
=> "nextval('derived_from_source_derived_from_source_id_seq'::regclass)",
15 is_auto_increment
=> 1,
22 default_value
=> undef,
25 accessor
=> 'src_name',
30 default_value
=> undef,
37 default_value
=> undef,
44 default_value
=> undef,
49 __PACKAGE__
->set_primary_key("derived_from_source_id");
50 __PACKAGE__
->add_unique_constraint(
51 "derived_from_source_source_schema_key",
52 ["source_schema", "source_table", "source_col"],
54 __PACKAGE__
->has_many(
55 "marker_derived_froms",
56 "SGN::Schema::MarkerDerivedFrom",
58 "foreign.derived_from_source_id" => "self.derived_from_source_id",
63 # Created by DBIx::Class::Schema::Loader v0.04999_07 @ 2009-09-04 13:21:55
64 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iO+7Ly1A1UJAl8Me2IPnEg
67 # You can replace this text with custom content, and it will be preserved on regeneration