X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Debbugs%2FDB%2FResult%2FSeverity.pm;h=edea9a968e5429f815f117b2c46e6b190d74f7f7;hb=466f7faff129a5699c7674f59900a92aa256175d;hp=34366e36c32eee34693bfdb1de1bf1f7eec60209;hpb=b18d61f439bddecf59b49ddd756add0655b852ce;p=debbugs.git diff --git a/Debbugs/DB/Result/Severity.pm b/Debbugs/DB/Result/Severity.pm index 34366e3..edea9a9 100644 --- a/Debbugs/DB/Result/Severity.pm +++ b/Debbugs/DB/Result/Severity.pm @@ -21,11 +21,13 @@ use base 'DBIx::Class::Core'; =item * L +=item * L + =back =cut -__PACKAGE__->load_components("InflateColumn::DateTime"); +__PACKAGE__->load_components("InflateColumn::DateTime", "TimeStamp"); =head1 TABLE: C @@ -139,9 +141,14 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-11-23 17:31:18 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xZN34NjFy5iDRay5w6JYVQ +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2014-11-30 21:56:51 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nI4ZqWa6IW7LgWuG7S1Gog +sub sqlt_deploy_hook { + my ($self, $sqlt_table) = @_; + $sqlt_table->add_index(name => 'severity_ordering_idx', + fields => [qw(ordering)], + ); +} -# You can replace this text with custom code or comments, and it will be preserved on regeneration 1;