fix migration

This commit is contained in:
flash 2016-11-16 13:55:13 +01:00
parent 17a94934e9
commit a1ff24510e

View file

@ -27,7 +27,8 @@ class FilesBelongOnTheFilesystem extends Migration
$schema = DB::getSchemaBuilder();
$schema->table('uploads', function (Blueprint $table) {
$table->binary('file_data');
$table->binary('file_data')
->nullable();
});
}
}