diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-05-04 18:12:18 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-05-04 18:12:18 +0000 |
commit | e274f97c879bff059511472a4d14a3584941393e (patch) | |
tree | afc46696e9c6c3025babe52acd13c4d45cb3d876 /database | |
parent | 0021293533d2bd9434f4b404b513e6d482069f03 (diff) | |
download | brdo-e274f97c879bff059511472a4d14a3584941393e.tar.gz brdo-e274f97c879bff059511472a4d14a3584941393e.tar.bz2 |
- Removed the Xtemplate engine and added the PHPTemplate engine.
- Converted the Bluemarine theme from XTemplate to PHPTemplate.
- Moved the the Pushbutton theme and the Xtemplate engine to the contributions repository.
Diffstat (limited to 'database')
-rw-r--r-- | database/updates.inc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/database/updates.inc b/database/updates.inc index e1e33734e..c969a51c9 100644 --- a/database/updates.inc +++ b/database/updates.inc @@ -2407,6 +2407,24 @@ function update_132() { return $ret; } +function update_130() { + $ret = array(); + + if ($GLOBALS['db_type'] == 'mysql') { + $ret[] = update_sql("ALTER TABLE {locales_source} CHANGE location location varchar(255) NOT NULL default ''"); + } + elseif ($GLOBALS['db_type'] == 'pgsql') { + $ret[] = update_sql("ALTER TABLE {locales_source} RENAME location TO location_old"); + $ret[] = update_sql("ALTER TABLE {locales_source} ADD location varchar(255)"); + $ret[] = update_sql("ALTER TABLE {locales_source} ALTER location SET NOT NULL"); + $ret[] = update_sql("ALTER TABLE {locales_source} ALTER location SET DEFAULT ''"); + $ret[] = update_sql("UPDATE {locales_source} SET location = location_old"); + $ret[] = update_sql("ALTER TABLE {locales_source} DROP location_old"); + } + + return $ret; +} + function update_133() { $ret[] = update_sql("CREATE TABLE {contact} ( subject varchar(255) NOT NULL default '', |