1 package SGN
::Schema
::Metadata
;
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("metadata");
27 sequence: 'metadata_metadata_id_seq'
31 data_type: 'timestamp with time zone'
32 default_value: current_timestamp
34 original: {default_value => \"now()"}
36 =head2 create_person_id
43 data_type: 'timestamp with time zone'
46 =head2 modified_person_id
51 =head2 previous_metadata_id
70 __PACKAGE__
->add_columns(
73 data_type
=> "bigint",
74 is_auto_increment
=> 1,
76 sequence
=> "metadata_metadata_id_seq",
80 data_type
=> "timestamp with time zone",
81 default_value
=> \"current_timestamp
",
83 original => { default_value => \"now()" },
86 { data_type
=> "integer", is_nullable
=> 0 },
88 { data_type
=> "timestamp with time zone", is_nullable
=> 1 },
90 { data_type
=> "integer", is_nullable
=> 1 },
91 "previous_metadata_id",
92 { data_type
=> "integer", is_nullable
=> 1 },
94 { data_type
=> "integer", default_value
=> 0, is_nullable
=> 1 },
96 { data_type
=> "varchar", is_nullable
=> 1, size
=> 250 },
98 __PACKAGE__
->set_primary_key("metadata_id");
106 Related object: L<SGN::Schema::Domain>
110 __PACKAGE__
->has_many(
112 "SGN::Schema::Domain",
113 { "foreign.metadata_id" => "self.metadata_id" },
114 { cascade_copy
=> 0, cascade_delete
=> 0 },
117 =head2 domain_matches
121 Related object: L<SGN::Schema::DomainMatch>
125 __PACKAGE__
->has_many(
127 "SGN::Schema::DomainMatch",
128 { "foreign.metadata_id" => "self.metadata_id" },
129 { cascade_copy
=> 0, cascade_delete
=> 0 },
133 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
134 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BLIbTLwRw2MATmnZ/869rA
137 # You can replace this text with custom content, and it will be preserved on regeneration