fix migration
This commit is contained in:
parent
17a94934e9
commit
a1ff24510e
1 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,8 @@ class FilesBelongOnTheFilesystem extends Migration
|
||||||
$schema = DB::getSchemaBuilder();
|
$schema = DB::getSchemaBuilder();
|
||||||
|
|
||||||
$schema->table('uploads', function (Blueprint $table) {
|
$schema->table('uploads', function (Blueprint $table) {
|
||||||
$table->binary('file_data');
|
$table->binary('file_data')
|
||||||
|
->nullable();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue