Bugzilla – Attachment 75891 Details for
Bug 19524
Share patron lists between staff
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19524: Update database
Bug-19524-Update-database.patch (text/plain), 1.50 KB, created by
Marcel de Rooy
on 2018-06-08 06:25:03 UTC
(
hide
)
Description:
Bug 19524: Update database
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2018-06-08 06:25:03 UTC
Size:
1.50 KB
patch
obsolete
>From f4314564d679a0f3a9d57d172e7b52d3f4eb9c26 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 7 Jun 2018 10:48:30 +0000 >Subject: [PATCH] Bug 19524: Update database >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: George Williams <george@nekls.org> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > 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 0000000..3e30d59 >--- /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 909eda2..26a79b2 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.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19524
:
75872
|
75873
|
75874
|
75878
|
75879
|
75880
| 75891 |
75892
|
75893
|
76992