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:
parent
f9c98108db
commit
8a79204a20
3 changed files with 51 additions and 2 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue