Fix display bug for attachments

This commit is contained in:
James Cole
2016-09-20 17:21:26 +02:00
parent e5f7228fa9
commit 5545d1c1ba
2 changed files with 5 additions and 5 deletions

View File

@@ -133,10 +133,10 @@ class CreateMainTables extends Migration
$table->string('attachable_type', 255);
$table->string('md5', 32);
$table->string('filename', 1024);
$table->string('title', 1024);
$table->text('description');
$table->text('notes');
$table->string('mime', 200);
$table->string('title', 1024)->nullable();
$table->text('description')->nullable();
$table->text('notes')->nullable();
$table->string('mime', 1024);
$table->integer('size', false, true);
$table->boolean('uploaded')->default(1);