diff options
Diffstat (limited to 'modules/locale')
-rw-r--r-- | modules/locale/locale.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/locale/locale.install b/modules/locale/locale.install index b2c4f85e1..1d87d6ccc 100644 --- a/modules/locale/locale.install +++ b/modules/locale/locale.install @@ -82,10 +82,10 @@ function locale_update_6002() { switch ($GLOBALS['db_type']) { case 'mysql': case 'mysqli': - db_add_column($ret, 'locales_source', 'textgroup', 'varchar(255)', array('default' => "''", 'not null' => TRUE)); + $ret[] = update_sql("ALTER TABLE {locales_source} ADD textgroup varchar(255) NOT NULL default ''"); break; case 'pgsql': - $ret[] = update_sql("ALTER TABLE {locales_source} ADD textgroup varchar(255) NOT NULL default ''"); + db_add_column($ret, 'locales_source', 'textgroup', 'varchar(255)', array('default' => "''", 'not null' => TRUE)); break; } return $ret; |