Changeset 1083 in ExiteCMS for trunk/administration/upgrade/rev01082.php
- Timestamp:
- 11/07/07 18:29:04 (5 years ago)
- File:
-
- 1 edited
-
trunk/administration/upgrade/rev01082.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/administration/upgrade/rev01082.php
r1082 r1083 31 31 32 32 // add the new fields to the locales table 33 $commands[] = array('type' => 'db', 'value' => "ALTER TABLE ##PREFIX##locale sADD locale_locale VARCHAR(25) NOT NULL DEFAULT '' AFTER locale_name");34 $commands[] = array('type' => 'db', 'value' => "ALTER TABLE ##PREFIX##locale sADD locale_charset VARCHAR(25) NOT NULL DEFAULT '' AFTER locale_locale");33 $commands[] = array('type' => 'db', 'value' => "ALTER TABLE ##PREFIX##locale ADD locale_locale VARCHAR(25) NOT NULL DEFAULT '' AFTER locale_name"); 34 $commands[] = array('type' => 'db', 'value' => "ALTER TABLE ##PREFIX##locale ADD locale_charset VARCHAR(25) NOT NULL DEFAULT '' AFTER locale_locale"); 35 35 36 // and p upulate them with default values37 $commands[] = array('type' => 'db', 'value' => "UPDATE ##PREFIX##locale sSET locale_locale = 'en_US|en_GB|english|eng', locale_charset = 'iso-8859-1'");36 // and populate them with a default value 37 $commands[] = array('type' => 'db', 'value' => "UPDATE ##PREFIX##locale SET locale_locale = 'en_US|en_GB|english|eng', locale_charset = 'iso-8859-1'"); 38 38 39 39 ?>
Note: See TracChangeset
for help on using the changeset viewer.
