Skip to content

Commit 617fdf5

Browse files
committed
Fix other failing tests
1 parent 9310dc6 commit 617fdf5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/specs/new_column_position/maria/app/migrations_maria_db/m200000_000003_change_table_dropfirsttwocols.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ class m200000_000003_change_table_dropfirsttwocols extends \yii\db\Migration
77
{
88
public function up()
99
{
10-
$this->dropColumn('{{%dropfirsttwocols}}', 'name');
1110
$this->dropColumn('{{%dropfirsttwocols}}', 'address');
11+
$this->dropColumn('{{%dropfirsttwocols}}', 'name');
1212
}
1313

1414
public function down()
1515
{
16-
$this->addColumn('{{%dropfirsttwocols}}', 'address', $this->text()->null()->defaultValue(null));
1716
$this->addColumn('{{%dropfirsttwocols}}', 'name', $this->text()->null()->defaultValue(null)->first());
17+
$this->addColumn('{{%dropfirsttwocols}}', 'address', $this->text()->null()->defaultValue(null));
1818
}
1919
}

tests/specs/new_column_position/mysql/app/migrations_mysql_db/m200000_000003_change_table_dropfirsttwocols.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ class m200000_000003_change_table_dropfirsttwocols extends \yii\db\Migration
77
{
88
public function up()
99
{
10-
$this->dropColumn('{{%dropfirsttwocols}}', 'name');
1110
$this->dropColumn('{{%dropfirsttwocols}}', 'address');
11+
$this->dropColumn('{{%dropfirsttwocols}}', 'name');
1212
}
1313

1414
public function down()
1515
{
16-
$this->addColumn('{{%dropfirsttwocols}}', 'address', $this->text()->null());
1716
$this->addColumn('{{%dropfirsttwocols}}', 'name', $this->text()->null()->first());
17+
$this->addColumn('{{%dropfirsttwocols}}', 'address', $this->text()->null());
1818
}
1919
}

0 commit comments

Comments
 (0)