]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/DB/Result/Severity.pm
switch to compatibility level 12
[debbugs.git] / Debbugs / DB / Result / Severity.pm
index 34366e36c32eee34693bfdb1de1bf1f7eec60209..edea9a968e5429f815f117b2c46e6b190d74f7f7 100644 (file)
@@ -21,11 +21,13 @@ use base 'DBIx::Class::Core';
 
 =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<severity>
 
@@ -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;