From 14a07b202e533cf00cda40028fbfdcab2cc5cfb9 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 10 Dec 2020 10:51:02 +0100 Subject: [PATCH] Bug 8976: DBIC schema changes Sponsored-by: Orex Digital Signed-off-by: Michal Denar --- Koha/Schema/Result/AuthSubfieldStructure.pm | 12 ++++++++++-- Koha/Schema/Result/MarcSubfieldStructure.pm | 12 ++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/Koha/Schema/Result/AuthSubfieldStructure.pm b/Koha/Schema/Result/AuthSubfieldStructure.pm index 7bf460d832..792f043b2b 100644 --- a/Koha/Schema/Result/AuthSubfieldStructure.pm +++ b/Koha/Schema/Result/AuthSubfieldStructure.pm @@ -130,6 +130,12 @@ __PACKAGE__->table("auth_subfield_structure"); data_type: 'mediumtext' is_nullable: 1 +=head2 display_order + + data_type: 'integer' + default_value: 0 + is_nullable: 0 + =cut __PACKAGE__->add_columns( @@ -173,6 +179,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 }, "defaultvalue", { data_type => "mediumtext", is_nullable => 1 }, + "display_order", + { data_type => "integer", default_value => 0, is_nullable => 0 }, ); =head1 PRIMARY KEY @@ -209,8 +217,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5Prv/DCQk32mTQaqtYhUuA +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-12-10 09:06:23 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QaSzsLBl3m/n+8u8nXuOeQ sub koha_object_class { 'Koha::Authority::Subfield'; diff --git a/Koha/Schema/Result/MarcSubfieldStructure.pm b/Koha/Schema/Result/MarcSubfieldStructure.pm index 00f6dce07c..9dda0ba608 100644 --- a/Koha/Schema/Result/MarcSubfieldStructure.pm +++ b/Koha/Schema/Result/MarcSubfieldStructure.pm @@ -140,6 +140,12 @@ __PACKAGE__->table("marc_subfield_structure"); default_value: 9999 is_nullable: 0 +=head2 display_order + + data_type: 'integer' + default_value: 0 + is_nullable: 0 + =cut __PACKAGE__->add_columns( @@ -181,6 +187,8 @@ __PACKAGE__->add_columns( { data_type => "mediumtext", is_nullable => 1 }, "maxlength", { data_type => "integer", default_value => 9999, is_nullable => 0 }, + "display_order", + { data_type => "integer", default_value => 0, is_nullable => 0 }, ); =head1 PRIMARY KEY @@ -222,8 +230,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-11 14:36:42 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lCe1ZenRM/9rXnRHXhDuSw +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-12-10 09:06:23 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KVbDXEVf96eDkbPYpcmQVA # You can replace this text with custom content, and it will be preserved on regeneration -- 2.20.1