Skip to content

Commit 3612ea7

Browse files
committed
[10.x] fix mysql
1 parent 1b90e26 commit 3612ea7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/migrations/2018_11_08_214421_create_items_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function up(): void
1414
$table->string('name');
1515
$table->integer('price');
1616
$table->json('prices')
17-
->default('[]');
17+
->nullable();
1818
$table->unsignedSmallInteger('quantity');
1919
$table->timestamps();
2020
});

0 commit comments

Comments
 (0)