Update the database to store the page texts in multiple languages

This commit is contained in:
james 2008-08-18 21:09:12 +00:00
parent 3992b68029
commit fca09d86c0
2 changed files with 4 additions and 1 deletions

View File

@ -1 +1 @@
108
109

3
db/db.update.109.sql Normal file
View File

@ -0,0 +1,3 @@
ALTER TABLE `pagetext` ADD `lang` VARCHAR( 2 ) DEFAULT 'en' NOT NULL ;
ALTER TABLE `pagetext` DROP INDEX `textname`;
ALTER TABLE pagetext ADD UNIQUE(`textname`,`year`,`lang`);