science-ation/db/db.update.123.sql
dave 0f763de1ac - Add a 'language' input type to the config editor
- Change config[default_language] type to langauge, no more people messing it
  up by typing in "English" or "American".
2009-02-05 09:14:41 +00:00

4 lines
192 B
SQL

ALTER TABLE `config` CHANGE `type` `type` ENUM( '', 'yesno', 'number', 'text', 'enum', 'multisel', 'language' ) NOT NULL ;
UPDATE config SET `type`='language' WHERE `var`='default_language';