2 package Debbugs::DB::Result::Maintainer;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Debbugs::DB::Result::Maintainer - Package maintainer names
16 use base 'DBIx::Class::Core';
18 =head1 COMPONENTS LOADED
22 =item * L<DBIx::Class::InflateColumn::DateTime>
28 __PACKAGE__->load_components("InflateColumn::DateTime");
30 =head1 TABLE: C<maintainer>
34 __PACKAGE__->table("maintainer");
43 sequence: 'maintainer_id_seq'
52 Name of package maintainer
64 data_type: 'timestamp with time zone'
65 default_value: current_timestamp
67 original: {default_value => \"now()"}
69 Time maintainer record created
73 data_type: 'timestamp with time zone'
74 default_value: current_timestamp
76 original: {default_value => \"now()"}
78 Time maintainer record modified
82 __PACKAGE__->add_columns(
85 data_type => "integer",
86 is_auto_increment => 1,
88 sequence => "maintainer_id_seq",
91 { data_type => "text", is_nullable => 0 },
93 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
96 data_type => "timestamp with time zone",
97 default_value => \"current_timestamp",
99 original => { default_value => \"now()" },
103 data_type => "timestamp with time zone",
104 default_value => \"current_timestamp",
106 original => { default_value => \"now()" },
120 __PACKAGE__->set_primary_key("id");
122 =head1 UNIQUE CONSTRAINTS
124 =head2 C<maintainer_name_key>
134 __PACKAGE__->add_unique_constraint("maintainer_name_key", ["name"]);
142 Related object: L<Debbugs::DB::Result::Correspondent>
146 __PACKAGE__->belongs_to(
148 "Debbugs::DB::Result::Correspondent",
149 { id => "correspondent" },
150 { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
157 Related object: L<Debbugs::DB::Result::SrcVer>
161 __PACKAGE__->has_many(
163 "Debbugs::DB::Result::SrcVer",
164 { "foreign.maintainer" => "self.id" },
165 { cascade_copy => 0, cascade_delete => 0 },
169 # Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-11-21 21:57:41
170 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:E1iNr1IKDcHDQYtmVdsoHA
173 # You can replace this text with custom code or comments, and it will be preserved on regeneration