From 6158a20670bc97a8065ea0c63201c29e88125a51 Mon Sep 17 00:00:00 2001 From: Roman Date: Sat, 3 Apr 2021 16:25:40 +0200 Subject: [PATCH] Alter Table init values --- core/Driver/SQL/Query/AlterTable.class.php | 2 ++ 1 file changed, 2 insertions(+) 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 {