Add storing media type, so that we can use use right tag, such as img, or video in the view

This commit is contained in:
Jonny Barnes 2017-03-19 10:04:48 +00:00
parent f9c98108db
commit 8a79204a20
3 changed files with 51 additions and 2 deletions

View file

@ -17,6 +17,7 @@ class CreateMediaEndpointTable extends Migration
$table->increments('id');
$table->text('token')->nullable();
$table->string('path');
$table->string('type');
$table->unsignedInteger('note_id')->nullable();
$table->timestamps();