Skip to content

Commit

Permalink
Task techjoomla#199 feat: Save process optimisation
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush-maherwal committed Oct 4, 2019
1 parent 246f391 commit b50ff1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.tjfields.php
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit b50ff1d

Please sign in to comment.