1 package SGN
::Schema
::Facility
;
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("facility");
27 sequence: 'facility_facility_id_seq'
34 =head2 facility_moniker
40 =head2 facility_shortname
52 =head2 facility_contact
58 =head2 facility_address
69 =head2 funding_comment
74 =head2 sequencing_primers
92 =head2 attribution_display
104 __PACKAGE__
->add_columns(
107 data_type
=> "integer",
108 is_auto_increment
=> 1,
110 sequence
=> "facility_facility_id_seq",
113 { data_type
=> "integer", is_nullable
=> 1 },
115 { data_type
=> "varchar", is_nullable
=> 1, size
=> 20 },
116 "facility_shortname",
117 { data_type
=> "varchar", is_nullable
=> 1, size
=> 12 },
119 { data_type
=> "varchar", is_nullable
=> 1, size
=> 80 },
121 { data_type
=> "varchar", is_nullable
=> 1, size
=> 80 },
123 { data_type
=> "text", is_nullable
=> 1 },
125 { data_type
=> "varchar", is_nullable
=> 1, size
=> 80 },
127 { data_type
=> "text", is_nullable
=> 1 },
128 "sequencing_primers",
129 { data_type
=> "varchar", is_nullable
=> 1, size
=> 80 },
131 { data_type
=> "varchar", is_nullable
=> 1, size
=> 40 },
133 { data_type
=> "varchar", is_nullable
=> 1, size
=> 40 },
134 "attribution_display",
135 { data_type
=> "text", is_nullable
=> 1 },
137 { data_type
=> "integer", is_nullable
=> 1 },
139 __PACKAGE__
->set_primary_key("facility_id");
147 Related object: L<SGN::Schema::Seqread>
151 __PACKAGE__
->has_many(
153 "SGN::Schema::Seqread",
154 { "foreign.facility_id" => "self.facility_id" },
155 { cascade_copy
=> 0, cascade_delete
=> 0 },
159 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
160 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:XLirPpQidO8sVoh61D2sjg
163 # You can replace this text with custom content, and it will be preserved on regeneration