Bug 24722: (RM follow-up) Schema Changes
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 18 Mar 2020 12:44:09 +0000 (12:44 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 18 Mar 2020 12:44:24 +0000 (12:44 +0000)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Schema/Result/OldReserve.pm
Koha/Schema/Result/Reserve.pm

index eb9033d..85e604d 100644 (file)
@@ -78,6 +78,7 @@ __PACKAGE__->table("old_reserves");
 =head2 priority
 
   data_type: 'smallint'
+  default_value: 1
   is_nullable: 0
 
 =head2 found
@@ -165,7 +166,7 @@ __PACKAGE__->add_columns(
   "reservenotes",
   { data_type => "longtext", is_nullable => 1 },
   "priority",
-  { data_type => "smallint", is_nullable => 0 },
+  { data_type => "smallint", default_value => 1, is_nullable => 0 },
   "found",
   { data_type => "varchar", is_nullable => 1, size => 1 },
   "timestamp",
@@ -297,8 +298,8 @@ __PACKAGE__->belongs_to(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 08:36:19
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RDZP4TEaFZUexg9jVg6DbA
+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 12:43:15
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4vMUC/1kSr3vgQ7n0Pmuug
 
 sub koha_object_class {
     'Koha::Old::Hold';
index 113b9e4..c5460e3 100644 (file)
@@ -82,6 +82,7 @@ __PACKAGE__->table("reserves");
 =head2 priority
 
   data_type: 'smallint'
+  default_value: 1
   is_nullable: 0
 
 =head2 found
@@ -179,7 +180,7 @@ __PACKAGE__->add_columns(
   "reservenotes",
   { data_type => "longtext", is_nullable => 1 },
   "priority",
-  { data_type => "smallint", is_nullable => 0 },
+  { data_type => "smallint", default_value => 1, is_nullable => 0 },
   "found",
   { data_type => "varchar", is_nullable => 1, size => 1 },
   "timestamp",
@@ -336,8 +337,8 @@ __PACKAGE__->belongs_to(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-25 11:25:52
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8f97w2B7OZT7KP+MKelI8g
+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 12:43:15
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VH7h5kYo9WhlGobXb3N3Jg
 
 __PACKAGE__->belongs_to(
   "item",