From 1931f41ad0c4a9d6aebb67eb471a1cd8214506a3 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Thu, 7 Dec 2023 01:52:03 +0100 Subject: [PATCH] just because I like case-sensitivity in SQL :-) --- application/migrations/157_wide_themes.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/application/migrations/157_wide_themes.php b/application/migrations/157_wide_themes.php index 66ea5af0..988cc592 100644 --- a/application/migrations/157_wide_themes.php +++ b/application/migrations/157_wide_themes.php @@ -20,11 +20,11 @@ class Migration_wide_themes extends CI_Migration public function down() { - $this->db->query("delete from themes where foldername = 'blue_wide';"); - $this->db->query("delete from themes where foldername = 'cosmo_wide';"); - $this->db->query("delete from themes where foldername = 'cyborg_wide';"); - $this->db->query("delete from themes where foldername = 'darkly_wide';"); - $this->db->query("delete from themes where foldername = 'default_wide';"); - $this->db->query("delete from themes where foldername = 'superhero_wide';"); + $this->db->query("DELETE FROM themes WHERE foldername = 'blue_wide';"); + $this->db->query("DELETE FROM themes WHERE foldername = 'cosmo_wide';"); + $this->db->query("DELETE FROM themes WHERE foldername = 'cyborg_wide';"); + $this->db->query("DELETE FROM themes WHERE foldername = 'darkly_wide';"); + $this->db->query("DELETE FROM themes WHERE foldername = 'default_wide';"); + $this->db->query("DELETE FROM themes WHERE foldername = 'superhero_wide';"); } }