Skip to content

Commit fab1cfb

Browse files
committed
provide default for new attachments column
1 parent 2269651 commit fab1cfb

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

+1-1
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');
21+
$table->binary('attachments')->after('body')->default('');
2222
});
2323
}
2424

0 commit comments

Comments
 (0)