]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/DB/Result/Suite.pm
switch to compatibility level 12
[debbugs.git] / Debbugs / DB / Result / Suite.pm
index 671a99e9c14575591e117ad4fb401e5992f998b2..37c875c403b55843d1e14b31203c516b6a4e7738 100644 (file)
@@ -46,26 +46,26 @@ __PACKAGE__->table("suite");
 
 Suite id
 
-=head2 suite_name
+=head2 codename
 
   data_type: 'text'
   is_nullable: 0
 
-Suite name
+Suite codename (sid, squeeze, etc.)
 
-=head2 version
+=head2 suite_name
 
   data_type: 'text'
   is_nullable: 1
 
-Suite version; NULL if there is no appropriate version
+Suite name (testing, stable, etc.)
 
-=head2 codename
+=head2 version
 
   data_type: 'text'
   is_nullable: 1
 
-Suite codename
+Suite version; NULL if there is no appropriate version
 
 =head2 active
 
@@ -85,11 +85,11 @@ __PACKAGE__->add_columns(
     is_nullable       => 0,
     sequence          => "suite_id_seq",
   },
-  "suite_name",
+  "codename",
   { data_type => "text", is_nullable => 0 },
-  "version",
+  "suite_name",
   { data_type => "text", is_nullable => 1 },
-  "codename",
+  "version",
   { data_type => "text", is_nullable => 1 },
   "active",
   { data_type => "boolean", default_value => \"true", is_nullable => 1 },
@@ -109,6 +109,30 @@ __PACKAGE__->set_primary_key("id");
 
 =head1 UNIQUE CONSTRAINTS
 
+=head2 C<suite_idx_codename>
+
+=over 4
+
+=item * L</codename>
+
+=back
+
+=cut
+
+__PACKAGE__->add_unique_constraint("suite_idx_codename", ["codename"]);
+
+=head2 C<suite_idx_version>
+
+=over 4
+
+=item * L</version>
+
+=back
+
+=cut
+
+__PACKAGE__->add_unique_constraint("suite_idx_version", ["version"]);
+
 =head2 C<suite_suite_name_key>
 
 =over 4
@@ -169,8 +193,8 @@ __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:3csVa5t/HsPdWr0/Nmr7WA
+# Created by DBIx::Class::Schema::Loader v0.07045 @ 2016-11-24 08:52:49
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nXoQCYZhM9cFgC1x+RY9rA
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration