Bug 19524: Update database

Signed-off-by: George Williams <george@nekls.org>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Kyle M Hall 2018-06-07 10:48:30 +00:00 committed by Nick Clemens
parent 8202f95ad7
commit 2e610a370b
2 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1 @@
ALTER TABLE patron_lists ADD COLUMN shared tinyint(1) default 0 AFTER owner;

View File

@ -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;