Skip to content

Commit 77be0fb

Browse files
Removed default from attachments field for earlier versions of mysql
1 parent 0b539c1 commit 77be0fb

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');
2222
});
2323
}
2424

0 commit comments

Comments
 (0)