From ded5761fa444f2fa329dc4f176d4a14c34e28096 Mon Sep 17 00:00:00 2001
From: David Gustafsson <david.gustafsson@ub.gu.se>
Date: Wed, 23 May 2018 15:57:11 +0200
Subject: [PATCH] Bug 18316: Update Koha/Schema/Result/SearchField.pm

https://bugs.koha-community.org/show_bug.cgi?id=18316
---
 Koha/Schema/Result/SearchField.pm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/Koha/Schema/Result/SearchField.pm b/Koha/Schema/Result/SearchField.pm
index 7475f53f58..9eaa4e4799 100644
--- a/Koha/Schema/Result/SearchField.pm
+++ b/Koha/Schema/Result/SearchField.pm
@@ -53,6 +53,12 @@ the human readable name of the field, for display
 
 what type of data this holds, relevant when storing it in the search engine
 
+=head2 weight
+
+  data_type: 'decimal'
+  is_nullable: 1
+  size: [5,2]
+
 =cut
 
 __PACKAGE__->add_columns(
@@ -70,6 +76,8 @@ __PACKAGE__->add_columns(
     },
     is_nullable => 0,
   },
+  "weight",
+  { data_type => "decimal", is_nullable => 1, size => [5, 2] },
 );
 
 =head1 PRIMARY KEY
@@ -116,8 +124,8 @@ __PACKAGE__->has_many(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-05-09 12:50:58
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NDRiXH19vBOhrMoyJqVTGQ
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-05-23 13:34:49
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wB00F2omQ2QadnIxg8keIQ
 
 __PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map");
 
-- 
2.11.0