@@ -13,7 +13,7 @@ |
||
| 13 | 13 | public function safeUp() |
| 14 | 14 | { |
| 15 | 15 | $table = $this->db->schema->getTableSchema('{{%migration}}'); |
| 16 | - if (isset($table->columns['alias'])) { |
|
| 16 | + if (isset($table->columns[ 'alias' ])) { |
|
| 17 | 17 | // Column exists |
| 18 | 18 | $this->alterColumn('{{%migration}}', 'alias', 'varchar(180) DEFAULT NULL'); |
| 19 | 19 | } |