summaryrefslogtreecommitdiffstats
path: root/application/migrations/003_add_referrers.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-09-20 15:46:09 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-09-20 15:46:09 +0200
commit2e627d7a88aed82363a7ad48dab21b2b55797452 (patch)
tree1f842ca5711765a9dd8f1c2eefc0a3994493f44f /application/migrations/003_add_referrers.php
parentffacb290fa8a30e6f3e507bf6842b281efbcd558 (diff)
postgres: Add missing prefix to index creation
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/migrations/003_add_referrers.php')
-rw-r--r--application/migrations/003_add_referrers.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/migrations/003_add_referrers.php b/application/migrations/003_add_referrers.php
index c504b5539..e6da1c0dd 100644
--- a/application/migrations/003_add_referrers.php
+++ b/application/migrations/003_add_referrers.php
@@ -15,8 +15,8 @@ class Migration_Add_referrers extends CI_Migration {
"date" integer NOT NULL,
PRIMARY KEY ("key")
);
- CREATE INDEX "invitations_user_idx" ON "'.$prefix.'invitations" ("user");
- CREATE INDEX "invitations_date_idx" ON "'.$prefix.'invitations" ("date");
+ CREATE INDEX "'.$prefix.'invitations_user_idx" ON "'.$prefix.'invitations" ("user");
+ CREATE INDEX "'.$prefix.'invitations_date_idx" ON "'.$prefix.'invitations" ("date");
');
$this->db->query('
ALTER TABLE "'.$prefix.'users"