Bug 19889: set exclude_from_local_holds_priority columns as boolean in schema
[srvgit] / Koha / Schema / Result / Reserve.pm
index c5460e3..2d7b397 100644 (file)
@@ -74,6 +74,12 @@ __PACKAGE__->table("reserves");
   datetime_undef_if_invalid: 1
   is_nullable: 1
 
+=head2 cancellation_reason
+
+  data_type: 'varchar'
+  is_nullable: 1
+  size: 80
+
 =head2 reservenotes
 
   data_type: 'longtext'
@@ -148,6 +154,12 @@ __PACKAGE__->table("reserves");
   default_value: 0
   is_nullable: 0
 
+=head2 non_priority
+
+  data_type: 'tinyint'
+  default_value: 0
+  is_nullable: 0
+
 =cut
 
 __PACKAGE__->add_columns(
@@ -177,6 +189,8 @@ __PACKAGE__->add_columns(
   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
   "cancellationdate",
   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
+  "cancellation_reason",
+  { data_type => "varchar", is_nullable => 1, size => 80 },
   "reservenotes",
   { data_type => "longtext", is_nullable => 1 },
   "priority",
@@ -215,6 +229,8 @@ __PACKAGE__->add_columns(
   { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
   "item_level_hold",
   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
+  "non_priority",
+  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
 );
 
 =head1 PRIMARY KEY
@@ -337,8 +353,8 @@ __PACKAGE__->belongs_to(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 12:43:15
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VH7h5kYo9WhlGobXb3N3Jg
+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-08-31 14:16:48
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:goRy3ZQWpGNmicok5Av37Q
 
 __PACKAGE__->belongs_to(
   "item",
@@ -367,7 +383,8 @@ __PACKAGE__->belongs_to(
 __PACKAGE__->add_columns(
     '+item_level_hold' => { is_boolean => 1 },
     '+lowestPriority'  => { is_boolean => 1 },
-    '+suspend'         => { is_boolean => 1 }
+    '+suspend'         => { is_boolean => 1 },
+    '+non_priority'    => { is_boolean => 1 }
 );
 
 sub koha_object_class {