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
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 data_type: 'timestamp with time zone'
53 default_value: current_timestamp
55 original: {default_value => \"now()"}
59 data_type: 'timestamp with time zone'
60 default_value: current_timestamp
62 original: {default_value => \"now()"}
66 __PACKAGE__->add_columns(
69 data_type => "integer",
70 is_auto_increment => 1,
72 sequence => "maintainer_id_seq",
75 { data_type => "text", is_nullable => 0 },
78 data_type => "timestamp with time zone",
79 default_value => \"current_timestamp",
81 original => { default_value => \"now()" },
85 data_type => "timestamp with time zone",
86 default_value => \"current_timestamp",
88 original => { default_value => \"now()" },
102 __PACKAGE__->set_primary_key("id");
104 =head1 UNIQUE CONSTRAINTS
106 =head2 C<maintainer_name_key>
116 __PACKAGE__->add_unique_constraint("maintainer_name_key", ["name"]);
124 Related object: L<Debbugs::DB::Result::SrcVer>
128 __PACKAGE__->has_many(
130 "Debbugs::DB::Result::SrcVer",
131 { "foreign.maintainer_id" => "self.id" },
132 { cascade_copy => 0, cascade_delete => 0 },
136 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2012-11-25 00:09:07
137 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:XOB1oEoov4hXMzTD4A7KHg
140 # You can replace this text with custom code or comments, and it will be preserved on regeneration