summaryrefslogtreecommitdiff
path: root/database/updates.inc
diff options
context:
space:
mode:
Diffstat (limited to 'database/updates.inc')
-rw-r--r--database/updates.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/database/updates.inc b/database/updates.inc
index 23fbf1ab0..b002548f6 100644
--- a/database/updates.inc
+++ b/database/updates.inc
@@ -1698,3 +1698,13 @@ function system_update_174() {
}
return array();
}
+
+function system_update_175() {
+ $ret = array();
+ switch ($GLOBALS['db_type']) {
+ case 'mysql':
+ case 'mysqli':
+ $ret[] = update_sql("ALTER TABLE {locales_target} ALTER COLUMN translation SET DEFAULT ''");
+ }
+ return $ret;
+}