X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Debbugs%2FDB%2FResult%2FSeverity.pm;h=edea9a968e5429f815f117b2c46e6b190d74f7f7;hb=466f7faff129a5699c7674f59900a92aa256175d;hp=c31b6e6d175b198492218aa93c1251e9444c0218;hpb=e82ae2e77eca2fea1d5f1e5e57fa0f0dae9db2ca;p=debbugs.git diff --git a/Debbugs/DB/Result/Severity.pm b/Debbugs/DB/Result/Severity.pm index c31b6e6..edea9a9 100644 --- a/Debbugs/DB/Result/Severity.pm +++ b/Debbugs/DB/Result/Severity.pm @@ -144,6 +144,11 @@ __PACKAGE__->has_many( # 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;