=item * L<DBIx::Class::InflateColumn::DateTime>
+=item * L<DBIx::Class::TimeStamp>
+
=back
=cut
-__PACKAGE__->load_components("InflateColumn::DateTime");
+__PACKAGE__->load_components("InflateColumn::DateTime", "TimeStamp");
=head1 TABLE: C<maintainer>
=head1 UNIQUE CONSTRAINTS
-=head2 C<maintainer_name_key>
+=head2 C<maintainer_name_idx>
=over 4
=cut
-__PACKAGE__->add_unique_constraint("maintainer_name_key", ["name"]);
+__PACKAGE__->add_unique_constraint("maintainer_name_idx", ["name"]);
=head1 RELATIONS
__PACKAGE__->has_many(
"src_vers",
"Debbugs::DB::Result::SrcVer",
- { "foreign.maintainer_id" => "self.id" },
+ { "foreign.maintainer" => "self.id" },
{ cascade_copy => 0, cascade_delete => 0 },
);
-# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wKZL5dHGvpVvuI9o0mh7fQ
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2014-11-30 21:56:51
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rkpgeXltH2wiC1Us7FIijw
+sub sqlt_deploy_hook {
+ my ($self, $sqlt_table) = @_;
+ $sqlt_table->add_index(name => 'maintainer_idx_correspondent',
+ fields => [qw(correspondent)],
+ );
+}
-# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;