From 2e610a370bcc63dba27ec94d77996fd7dc4204d6 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 Signed-off-by: George Williams Signed-off-by: Marcel de Rooy Signed-off-by: Nick Clemens --- 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 20b1a5716e..34545d02fa 100644 --- a/installer/data/mysql/kohastructure.sql +++ b/installer/data/mysql/kohastructure.sql @@ -3518,6 +3518,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.39.2