Skip to content

Commit a42778b

Browse files
committed
fix binary default value for mysql
1 parent 8e7a2d1 commit a42778b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/migrations/2017_12_14_151421_add_attachments_to_emails_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function up()
1818
}
1919

2020
Schema::table('emails', function (Blueprint $table) {
21-
$table->binary('attachments')->after('body')->default('');
21+
$table->binary('attachments')->after('body')->nullable();
2222
});
2323
}
2424

0 commit comments

Comments
 (0)