From 180a020923233f05df3d54a9b164537c32cf88c4 Mon Sep 17 00:00:00 2001 From: phl0 Date: Tue, 17 Oct 2023 05:53:42 +0200 Subject: [PATCH] Fix typo in downgrade migration --- application/migrations/145_rename_gridmap_variables.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/migrations/145_rename_gridmap_variables.php b/application/migrations/145_rename_gridmap_variables.php index 9d84c2f6..cba66f0c 100644 --- a/application/migrations/145_rename_gridmap_variables.php +++ b/application/migrations/145_rename_gridmap_variables.php @@ -28,7 +28,7 @@ class Migration_rename_gridmap_variables extends CI_Migration { $this->db->query("ALTER TABLE `users` CHANGE `user_default_band` `user_gridmap_default_band` VARCHAR(10) DEFAULT NULL;"); } if ($this->db->field_exists('user_default_confirmation', 'users')) { - $this->db->query("ALTER TABLE `users` CHANGE `user_default_confirmation` `user_default_confirmation` VARCHAR(3) DEFAULT NULL;"); + $this->db->query("ALTER TABLE `users` CHANGE `user_default_confirmation` `user_gridmap_confirmation` VARCHAR(3) DEFAULT NULL;"); } } }