Bugzilla – Attachment 55023 Details for
Bug 17216
Add a new table to store authorized value categories
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 17216: Add some other AV categories
SIGNED-OFF-Bug-17216-Add-some-other-AV-categories.patch (text/plain), 1.89 KB, created by
Owen Leonard
on 2016-08-30 14:36:52 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 17216: Add some other AV categories
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2016-08-30 14:36:52 UTC
Size:
1.89 KB
patch
obsolete
>From 2f222acf89bc4387460113026e6752959e3cc6d6 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 29 Aug 2016 15:15:10 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 17216: Add some other AV categories >Content-Type: text/plain; charset="utf-8" > >Found in >installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.sql > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > installer/data/mysql/atomicupdate/bug_17216_1_add_table.sql | 9 +++++++++ > installer/data/mysql/en/mandatory/auth_values.sql | 9 +++++++++ > 2 files changed, 18 insertions(+) > >diff --git a/installer/data/mysql/atomicupdate/bug_17216_1_add_table.sql b/installer/data/mysql/atomicupdate/bug_17216_1_add_table.sql >index 221a7e7..cc5ac6e 100644 >--- a/installer/data/mysql/atomicupdate/bug_17216_1_add_table.sql >+++ b/installer/data/mysql/atomicupdate/bug_17216_1_add_table.sql >@@ -31,6 +31,15 @@ INSERT IGNORE INTO authorised_value_categories( category_name ) > ('itemtypes'), > ('cn_source'); > >+INSERT IGNORE INTO authorised_value_categories( category_name ) >+ VALUES >+ ('WITHDRAWN'), >+ ('RESTRICTED'), >+ ('NOT_LOAN'), >+ ('CCODE'), >+ ('LOC'), >+ ('STACK'); >+ > -- Update the FK > ALTER TABLE items_search_fields > DROP FOREIGN KEY items_search_fields_authorised_values_category; >diff --git a/installer/data/mysql/en/mandatory/auth_values.sql b/installer/data/mysql/en/mandatory/auth_values.sql >index e0785f0..74b917d 100644 >--- a/installer/data/mysql/en/mandatory/auth_values.sql >+++ b/installer/data/mysql/en/mandatory/auth_values.sql >@@ -20,3 +20,12 @@ INSERT IGNORE INTO authorised_value_categories( category_name ) > ('branches'), > ('itemtypes'), > ('cn_source'); >+ >+INSERT IGNORE INTO authorised_value_categories( category_name ) >+ VALUES >+ ('WITHDRAWN'), >+ ('RESTRICTED'), >+ ('NOT_LOAN'), >+ ('CCODE'), >+ ('LOC'), >+ ('STACK'); >-- >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 17216
:
54979
|
54980
|
54981
|
54982
|
54983
|
54984
|
54985
|
54987
|
54988
|
54989
|
54990
|
54991
|
54992
|
54993
|
55003
|
55004
|
55005
|
55008
|
55009
|
55010
|
55011
|
55021
|
55022
|
55023
|
55024
|
55025
|
55026
|
55027
|
55028
|
55029
|
55030
|
55031
|
55032
|
55047
|
55207
|
55208
|
55209
|
55210
|
55211
|
55212
|
55213
|
55214
|
55215
|
55216
|
55217
|
55218
|
55365
|
55366
|
55367
|
55368
|
55369
|
55370
|
55371
|
55372
|
55373
|
55374
|
55375
|
55376
|
55692
|
55693
|
55835
|
55840
|
56202
|
56203
|
56204
|
56205
|
56206
|
56207
|
56208
|
56209
|
56210
|
56211
|
56212
|
56213
|
56214
|
56215
|
56216
|
56217
|
56619
|
57729