forked from science-ation/science-ation
Update the database to store the page texts in multiple languages
This commit is contained in:
parent
3992b68029
commit
fca09d86c0
@ -1 +1 @@
|
|||||||
108
|
109
|
||||||
|
3
db/db.update.109.sql
Normal file
3
db/db.update.109.sql
Normal 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`);
|
Loading…
Reference in New Issue
Block a user