Skip to content

Commit 7fa9cde

Browse files
committed
Fix failing test
1 parent 2647645 commit 7fa9cde

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

tests/specs/blog_v2/migrations_maria_db/m200000_000000_change_table_v2_posts.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ public function up()
1414
$this->alterColumn('{{%v2_posts}}', 'category_id', $this->bigInteger()->notNull()->comment('Category of posts'));
1515
$this->alterColumn('{{%v2_posts}}', 'active', $this->tinyInteger(1)->notNull());
1616
$this->alterColumn('{{%v2_posts}}', 'created_by_id', $this->bigInteger()->null()->defaultValue(null)->comment('The User'));
17-
$this->dropIndex('v2_posts_slug_key', '{{%v2_posts}}');
1817
}
1918

2019
public function down()

tests/specs/issue_fix/25_generate_inverse_relations/mysql/migrations_mysql_db/m200000_000001_create_table_accounts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public function up()
99
{
1010
$this->createTable('{{%accounts}}', [
1111
'id' => $this->primaryKey(),
12-
'name' => $this->string(128)->notNull(),
12+
'name' => $this->string(128)->notNull()->comment('account name'),
1313
'paymentMethodName' => $this->text()->null(),
1414
'user_id' => $this->integer()->null()->defaultValue(null),
1515
'user2_id' => $this->integer()->null()->defaultValue(null),

0 commit comments

Comments
 (0)