From 6fd6e142470fc05f077c91a14cb6e13161920469 Mon Sep 17 00:00:00 2001
From: Kyle M Hall <kyle@bywatersolutions.com>
Date: Tue, 1 May 2018 17:47:50 +0000
Subject: [PATCH] Bug 20691: Update Schema Files

---
 Koha/Schema/Result/Borrower.pm        | 12 ++++++++++--
 Koha/Schema/Result/Deletedborrower.pm | 12 ++++++++++--
 Koha/Schema/Result/SearchField.pm     | 10 ++++++----
 3 files changed, 26 insertions(+), 8 deletions(-)

diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm
index 534dd7e14f..fa9fd12df1 100644
--- a/Koha/Schema/Result/Borrower.pm
+++ b/Koha/Schema/Result/Borrower.pm
@@ -381,6 +381,12 @@ __PACKAGE__->table("borrowers");
   default_value: 1
   is_nullable: 0
 
+=head2 privacy_guarantor_fines
+
+  data_type: 'tinyint'
+  default_value: 0
+  is_nullable: 0
+
 =head2 privacy_guarantor_checkouts
 
   data_type: 'tinyint'
@@ -584,6 +590,8 @@ __PACKAGE__->add_columns(
   { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
   "privacy",
   { data_type => "integer", default_value => 1, is_nullable => 0 },
+  "privacy_guarantor_fines",
+  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
   "privacy_guarantor_checkouts",
   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
   "checkprevcheckout",
@@ -1380,8 +1388,8 @@ Composing rels: L</aqorder_users> -> ordernumber
 __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
 
 
-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-03-25 21:32:19
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zQiYI20PSKC7Kub0678iAA
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-05-01 17:46:46
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hldn1CQpN17+009opY26sA
 
 __PACKAGE__->add_columns(
     '+lost' => { is_boolean => 1 },
diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm
index 43bebbabc0..e6eba8d46f 100644
--- a/Koha/Schema/Result/Deletedborrower.pm
+++ b/Koha/Schema/Result/Deletedborrower.pm
@@ -378,6 +378,12 @@ __PACKAGE__->table("deletedborrowers");
   default_value: 1
   is_nullable: 0
 
+=head2 privacy_guarantor_fines
+
+  data_type: 'tinyint'
+  default_value: 0
+  is_nullable: 0
+
 =head2 privacy_guarantor_checkouts
 
   data_type: 'tinyint'
@@ -569,6 +575,8 @@ __PACKAGE__->add_columns(
   { data_type => "integer", is_nullable => 1 },
   "privacy",
   { data_type => "integer", default_value => 1, is_nullable => 0 },
+  "privacy_guarantor_fines",
+  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
   "privacy_guarantor_checkouts",
   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
   "checkprevcheckout",
@@ -605,8 +613,8 @@ __PACKAGE__->add_columns(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-03-25 21:32:19
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MXaX5GzSeZh/SkfqNmd5hQ
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-05-01 17:46:46
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:husqub0S1QFw8tscWRGzrw
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
diff --git a/Koha/Schema/Result/SearchField.pm b/Koha/Schema/Result/SearchField.pm
index ee32f42cf2..4638427751 100644
--- a/Koha/Schema/Result/SearchField.pm
+++ b/Koha/Schema/Result/SearchField.pm
@@ -48,7 +48,7 @@ the human readable name of the field, for display
 =head2 type
 
   data_type: 'enum'
-  extra: {list => ["","string","date","number","boolean","sum"]}
+  extra: {list => ["","string","date","number","boolean","sum","isbn","stdno"]}
   is_nullable: 0
 
 what type of data this holds, relevant when storing it in the search engine
@@ -65,7 +65,9 @@ __PACKAGE__->add_columns(
   "type",
   {
     data_type => "enum",
-    extra => { list => ["", "string", "date", "number", "boolean", "sum"] },
+    extra => {
+      list => ["", "string", "date", "number", "boolean", "sum", "isbn", "stdno"],
+    },
     is_nullable => 0,
   },
 );
@@ -114,8 +116,8 @@ __PACKAGE__->has_many(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-03-23 13:30:43
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1IenQWmCO16tJ/nIFTFYug
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-05-01 17:46:46
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lmjuGxSq2AKyv3tjmL7CzA
 
 __PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map");
 
-- 
2.15.1 (Apple Git-101)