diff --git a/migrations/Migration.php b/migrations/Migration.php index 5eb877d6a..159adde11 100644 --- a/migrations/Migration.php +++ b/migrations/Migration.php @@ -57,7 +57,7 @@ public function init() public function dropTable($table) { - if ($this->dbType = 'sqlsrv') { + if ($this->dbType == 'sqlsrv') { $this->dropTableConstraints($table); } return parent::dropTable($table); @@ -65,7 +65,7 @@ public function dropTable($table) public function dropColumn($table, $column) { - if ($this->dbType = 'sqlsrv') { + if ($this->dbType == 'sqlsrv') { $this->dropColumnConstraints($table, $column); } return parent::dropColumn($table, $column);