Skip to content

Commit 2a0685f

Browse files
committed
test: fix migration
1 parent a2f234f commit 2a0685f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/TestCase.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ protected function migrateDatabase(): void
3030
$table->boolean('is_active')->default(true);
3131
$table->timestamps();
3232
});
33+
34+
Schema::dropIfExists('users_bool_no_default');
35+
Schema::create('users_bool_no_default', function (Blueprint $table) {
36+
$table->increments('id');
37+
$table->string('name');
38+
$table->string('email');
39+
$table->boolean('is_active');
40+
$table->timestamps();
41+
});
3342
}
3443

3544
protected function seedDatabase(): void

0 commit comments

Comments
 (0)