We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8c7a4b commit 3b39f26Copy full SHA for 3b39f26
system/Database/Forge.php
@@ -704,11 +704,9 @@ public function addColumn(string $table, $field): bool
704
return false;
705
}
706
707
- if (is_array($sqls)) {
708
- foreach ($sqls as $sql) {
709
- if ($this->db->query($sql) === false) {
710
- return false;
711
- }
+ foreach ($sqls as $sql) {
+ if ($this->db->query($sql) === false) {
+ return false;
712
713
714
@@ -766,9 +764,11 @@ public function modifyColumn(string $table, $field): bool
766
764
767
765
768
769
770
771
+ if (is_array($sqls)) {
+ }
772
773
774
0 commit comments