Bug 15069: Update items_search_fields.authorised_values_category to varchar(32)
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 27 Oct 2015 14:29:29 +0000 (14:29 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 27 Oct 2015 14:33:20 +0000 (11:33 -0300)
This is a follow-up for bug 13379.
items_search_fields.authorised_values_category is now a varchar(32) but
the updatedatabase.pl did not modify it (changed only on
kohastructure.sql)

Test plan:
  SHOW CREATE TABLE items_search_fields
before and after this patch.
items_search_fields.authorised_values_category should be a varchar(32)

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
installer/data/mysql/atomicupdate/bug_15069.sql [new file with mode: 0644]

diff --git a/installer/data/mysql/atomicupdate/bug_15069.sql b/installer/data/mysql/atomicupdate/bug_15069.sql
new file mode 100644 (file)
index 0000000..fb9f60a
--- /dev/null
@@ -0,0 +1 @@
+alter table items_search_fields modify column authorised_values_category varchar(32) default null;