diff options
author | alecpl <alec@alec.pl> | 2011-12-14 22:25:44 +0400 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-12-14 22:25:44 +0400 |
commit | bd9190a660151c16af40c29ed63309a08fa7db04 (patch) | |
tree | 07295a2332d4ee04277904a8b726c004f7497533 /SQL | |
parent | 7177b5216ab5d2e296a99c87788e37c1eb50ba60 (diff) |
- Fix broken CREATE INDEX queries in SQLite DDL files (#1488255)
Diffstat (limited to 'SQL')
-rw-r--r-- | SQL/sqlite.initial.sql | 2 | ||||
-rw-r--r-- | SQL/sqlite.update.sql | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/SQL/sqlite.initial.sql b/SQL/sqlite.initial.sql index 8c8da5c0f..2c4f9dccc 100644 --- a/SQL/sqlite.initial.sql +++ b/SQL/sqlite.initial.sql @@ -147,7 +147,7 @@ CREATE TABLE searches ( data text NOT NULL ); -CREATE UNIQUE INDEX ix_searches_user_type_name (user_id, type, name); +CREATE UNIQUE INDEX ix_searches_user_type_name ON searches (user_id, type, name); -- -------------------------------------------------------- diff --git a/SQL/sqlite.update.sql b/SQL/sqlite.update.sql index 92f6da142..c722a84f8 100644 --- a/SQL/sqlite.update.sql +++ b/SQL/sqlite.update.sql @@ -246,7 +246,7 @@ CREATE TABLE searches ( data text NOT NULL ); -CREATE UNIQUE INDEX ix_searches_user_type_name (user_id, type, name); +CREATE UNIQUE INDEX ix_searches_user_type_name ON searches (user_id, type, name); DROP TABLE messages; |