From: Steve Sutton Date: Wed, 28 Jun 2017 18:33:20 +0000 (-0400) Subject: Adding update statement for new general setting. X-Git-Tag: v2.10.0^2~12 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=b92ee3300f5c5d281026b5563998ff6aa7d560cd;p=WP-Plugins%2Fglm-member-db.git Adding update statement for new general setting. Need to add in an UPDATE call to update the new field. Won't get set otherwise. --- diff --git a/setup/databaseScripts/update_database_V1.1.32.sql b/setup/databaseScripts/update_database_V1.1.32.sql index a54f87cb..34111bec 100644 --- a/setup/databaseScripts/update_database_V1.1.32.sql +++ b/setup/databaseScripts/update_database_V1.1.32.sql @@ -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;