diff --git a/db/db.code.version.txt b/db/db.code.version.txt index f04c001..64bb6b7 100644 --- a/db/db.code.version.txt +++ b/db/db.code.version.txt @@ -1 +1 @@ -29 +30 diff --git a/db/db.update.30.sql b/db/db.update.30.sql new file mode 100644 index 0000000..5985f2e --- /dev/null +++ b/db/db.update.30.sql @@ -0,0 +1,4 @@ +ALTER TABLE `translations` DROP INDEX `strmd5`; +ALTER TABLE `translations` DROP INDEX `lang`; +ALTER TABLE `translations` ADD UNIQUE KEY ( `lang`, `strmd5` ); +