Allow to edit an attachment.

This commit is contained in:
James Cole
2015-07-19 09:37:28 +02:00
parent b5e2e8aa1d
commit 0dbe4e94fa
9 changed files with 290 additions and 23 deletions

View File

@@ -24,12 +24,11 @@ class ChangesForV3410 extends Migration
$table->string('attachable_type');
$table->integer('user_id')->unsigned();
$table->string('md5', 32);
$table->string('filename');
$table->string('title')->nullable();
$table->text('filename');
$table->text('title')->nullable();
$table->text('description')->nullable();
$table->text('notes')->nullable();
$table->string('mime');
$table->text('mime');
$table->integer('size')->unsigned();
$table->tinyInteger('uploaded', false, true)->default(0);
@@ -37,6 +36,8 @@ class ChangesForV3410 extends Migration
);
}
/**
* Reverse the migrations.
*