diff options
-rw-r--r-- | application/migrations/007_repurpose_invitations.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/migrations/007_repurpose_invitations.php b/application/migrations/007_repurpose_invitations.php index 36d3007e8..d586c2829 100644 --- a/application/migrations/007_repurpose_invitations.php +++ b/application/migrations/007_repurpose_invitations.php @@ -17,7 +17,7 @@ class Migration_Repurpose_invitations extends CI_Migration { "); $this->db->query(" - RENAME TABLE `invitations` TO `actions` ; + ALTER TABLE `invitations` RENAME `actions`; "); } @@ -25,7 +25,7 @@ class Migration_Repurpose_invitations extends CI_Migration { public function down() { $this->db->query(" - RENAME TABLE `actions` TO `invitations` ; + ALTER TABLE `actions` RENAME `invitations`; "); $this->db->query(" |