From 1beb7f3772417458e9beee77432b034864fe6855 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 30 Jun 2017 10:27:06 +0200 Subject: [PATCH] Bug 18235: DBIx schema changes Fresh changes for SearchField, facet_order. --- 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 ee32f42cf2..96b21bac99 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 facet_order + + data_type: 'tinyint' + default_value: 0 + is_nullable: 1 + =cut __PACKAGE__->add_columns( @@ -68,6 +74,8 @@ __PACKAGE__->add_columns( extra => { list => ["", "string", "date", "number", "boolean", "sum"] }, is_nullable => 0, }, + "facet_order", + { data_type => "tinyint", default_value => 0, is_nullable => 1 }, ); =head1 PRIMARY KEY @@ -114,8 +122,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 @ 2017-06-30 10:26:00 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0f8VeusKpolVCRHLvQKhnA __PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); -- 2.11.0