Adding update statement for new general setting.
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 28 Jun 2017 18:33:20 +0000 (14:33 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 28 Jun 2017 18:33:20 +0000 (14:33 -0400)
Need to add in an UPDATE call to update the new field. Won't get set
otherwise.

setup/databaseScripts/update_database_V1.1.32.sql

index a54f87c..34111be 100644 (file)
@@ -8,3 +8,7 @@
 -- Sets which character to use to separate phone numbers
 
 ALTER TABLE {prefix}settings_general ADD COLUMN short_desc_char_limit INTEGER DEFAULT '120';
+
+----
+
+UPDATE {prefix}settings_general SET short_desc_char_limit = 120;