diff --git a/core/Driver/SQL/Query/AlterTable.class.php b/core/Driver/SQL/Query/AlterTable.class.php index f7f4bd7..6058e24 100644 --- a/core/Driver/SQL/Query/AlterTable.class.php +++ b/core/Driver/SQL/Query/AlterTable.class.php @@ -17,6 +17,8 @@ class AlterTable extends Query { public function __construct(SQL $sql, string $table) { parent::__construct($sql); $this->table = $table; + $this->column = null; + $this->constraint = null; } public function add($what): AlterTable {