1 package SGN
::Schema
::DomainMatch
;
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::DomainMatch
18 __PACKAGE__
->table("domain_match");
22 =head2 domain_match_id
27 sequence: 'domain_match_domain_match_id_seq'
81 __PACKAGE__
->add_columns(
84 data_type
=> "bigint",
85 is_auto_increment
=> 1,
87 sequence
=> "domain_match_domain_match_id_seq",
90 { data_type
=> "bigint", is_foreign_key
=> 1, is_nullable
=> 1 },
92 { data_type
=> "bigint", is_nullable
=> 1 },
94 { data_type
=> "bigint", is_foreign_key
=> 1, is_nullable
=> 1 },
96 { data_type
=> "integer", is_nullable
=> 1 },
98 { data_type
=> "integer", is_nullable
=> 1 },
100 { data_type
=> "varchar", is_nullable
=> 1, size
=> 10 },
102 { data_type
=> "char", is_nullable
=> 1, size
=> 1 },
104 { data_type
=> "bigint", is_nullable
=> 1 },
106 { data_type
=> "bigint", is_foreign_key
=> 1, is_nullable
=> 1 },
108 __PACKAGE__
->set_primary_key("domain_match_id");
116 Related object: L<SGN::Schema::Metadata>
120 __PACKAGE__
->belongs_to(
122 "SGN::Schema::Metadata",
123 { metadata_id
=> "metadata_id" },
127 on_delete
=> "CASCADE",
128 on_update
=> "CASCADE",
136 Related object: L<SGN::Schema::Domain>
140 __PACKAGE__
->belongs_to(
142 "SGN::Schema::Domain",
143 { domain_id
=> "domain_id" },
147 on_delete
=> "CASCADE",
148 on_update
=> "CASCADE",
156 Related object: L<SGN::Schema::Cd>
160 __PACKAGE__
->belongs_to(
163 { cds_id
=> "cds_id" },
167 on_delete
=> "CASCADE",
168 on_update
=> "CASCADE",
173 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
174 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0wucSV8vE26N2AjTvcBIzw
177 # You can replace this text with custom content, and it will be preserved on regeneration