From c72193e67188e3c45172b26ff7eba83de23f336d Mon Sep 17 00:00:00 2001 From: james Date: Wed, 25 Oct 2006 16:35:16 +0000 Subject: [PATCH] Update database for the language pack installer system to work properly --- db/db.code.version.txt | 2 +- db/db.update.30.sql | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 db/db.update.30.sql 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` ); +