From 0fe20edc3615edbc6a156d721631fa7a849233e4 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 7 Jun 2018 10:48:30 +0000 Subject: [PATCH] Bug 19524: Update database --- installer/data/mysql/atomicupdate/bug_19524.sql | 1 + installer/data/mysql/kohastructure.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/bug_19524.sql diff --git a/installer/data/mysql/atomicupdate/bug_19524.sql b/installer/data/mysql/atomicupdate/bug_19524.sql new file mode 100644 index 0000000000..3e30d59e26 --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_19524.sql @@ -0,0 +1 @@ +ALTER TABLE patron_lists ADD COLUMN shared tinyint(1) default 0 AFTER owner; diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql index 909eda25aa..26a79b23cf 100644 --- a/installer/data/mysql/kohastructure.sql +++ b/installer/data/mysql/kohastructure.sql @@ -3516,6 +3516,7 @@ CREATE TABLE patron_lists ( patron_list_id int(11) NOT NULL AUTO_INCREMENT, -- unique identifier name varchar(255) CHARACTER SET utf8mb4 NOT NULL, -- the list's name owner int(11) NOT NULL, -- borrowernumber of the list creator + shared tinyint(1) default 0, PRIMARY KEY (patron_list_id), KEY owner (owner) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- 2.15.1 (Apple Git-101)