diff options
-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(' |