From b50ff1ddb1e6c841fa7237e7f26beea0f1543072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cankush=5Fm=E2=80=9D?= Date: Fri, 4 Oct 2019 16:43:46 +0530 Subject: [PATCH] Task #199 feat: Save process optimisation --- script.tjfields.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.tjfields.php b/script.tjfields.php index d4f132d1..5687892f 100755 --- a/script.tjfields.php +++ b/script.tjfields.php @@ -373,7 +373,7 @@ public function fix_db_on_update() if (!in_array('showonlist', $field_array)) { - $query = "ALTER TABLE `#__tjfields_fields` ADD COLUMN `showonlist` tinyint(1) NOT NULL DEFAULT '0'"; + $query = "ALTER TABLE `#__tjfields_fields` ADD COLUMN `showonlist` tinyint(1) NOT NULL"; $db->setQuery($query); if (!$db->execute())