PATH:
home
/
lab2454c
/
tripvare.com
/
backup
/
vendor
/
cloudinary-labs
/
cloudinary-laravel
/
database
/
migrations
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateMediaTable extends Migration { public function up() { Schema::create('media', function (Blueprint $table) { $table->bigIncrements('id'); $table->morphs('medially'); $table->text('file_url'); $table->string('file_name'); $table->string('file_type')->nullable(); $table->unsignedBigInteger('size'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('media'); } }
[+]
..
[-] 2020_06_14_000001_create_media_table.php
[edit]