diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-09-26 13:48:23 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-09-26 13:48:23 +0200 |
commit | 136e84d27a60a5f813ea0d4154735159ccd89ee9 (patch) | |
tree | 0ccfddde101edd86a2a87a369b441a8af459ee5e | |
parent | 3ff6ffa3341c876b741feb66552cdd110b67872e (diff) |
Fix incorrect table name in migration 20 for postgres
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r-- | application/migrations/020_update_session_table.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/migrations/020_update_session_table.php b/application/migrations/020_update_session_table.php index 716b95efb..94a240def 100644 --- a/application/migrations/020_update_session_table.php +++ b/application/migrations/020_update_session_table.php @@ -25,7 +25,7 @@ class Migration_update_session_table extends CI_Migration { RENAME COLUMN "user_data" TO "data"; '); $this->db->query(' - ALTER TABLE ci_sessions ALTER COLUMN id SET DATA TYPE varchar(128); + ALTER TABLE "'.$prefix.'ci_sessions" ALTER COLUMN id SET DATA TYPE varchar(128); '); } else { $this->db->query(' |