diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-03 10:26:32 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-03 10:26:32 +0000 |
| commit | 120dee0978a4dc29e8a904bfe4a0e31c3cf192ca (patch) | |
| tree | e3b4fc02907ee2e99a3be865f4a4d39fc88bd887 /roundcubemail/SQL | |
| parent | 8de735324b61814b8f8919a822c81482b3876fc6 (diff) | |
fix: there's no ALTER TABLE ... ADD INDEX in postgresql
git-svn-id: https://svn.roundcube.net/trunk@1240 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/SQL')
| -rw-r--r-- | roundcubemail/SQL/postgres.initial.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/SQL/postgres.initial.sql b/roundcubemail/SQL/postgres.initial.sql index e8513af73..c7428369f 100644 --- a/roundcubemail/SQL/postgres.initial.sql +++ b/roundcubemail/SQL/postgres.initial.sql @@ -131,7 +131,7 @@ CREATE TABLE "cache" ( data text NOT NULL ); -ALTER TABLE "cache" ADD INDEX (user_id, cache_key); +CREATE INDEX cache_user_id_idx ON "cache" (user_id, cache_key); -- -- Sequence "message_ids" |
