diff options
author | alecpl <alec@alec.pl> | 2011-12-14 18:28:39 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-12-14 18:28:39 +0000 |
commit | e8b2579865e90068658182074d2ea73bafbda3d2 (patch) | |
tree | 240f2b69bc2050cb266227e1b643ec666747f51a /SQL | |
parent | faf5fb4c07a6a7fe9da7e16325c937be44434ef5 (diff) |
- Aplied fixes from trunk up to r5615
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; |