Advanced Web Server Manager
Complete File Manager & Terminal - Standalone Version
By Sid Gifari | Gifari Industries
Current path:
/
/
home
/
qtdcvxyp
/
karir.star4hire.com
/
database
/
migrations
✏️
Editing: 2019_03_17_140539_create_media_files_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateMediaFilesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('media_files', function (Blueprint $table) { $table->bigIncrements('id'); $table->string('file_name',255)->nullable(); $table->string('file_path',255)->nullable(); $table->string('file_size',255)->nullable(); $table->string('file_type',255)->nullable(); $table->string('file_extension',255)->nullable(); $table->integer('create_user')->nullable(); $table->integer('update_user')->nullable(); $table->softDeletes(); $table->integer('app_id')->nullable(); $table->integer('app_user_id')->nullable(); $table->integer('file_width')->nullable(); $table->integer('file_height')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('media_files'); } }
💾 Save Changes
❌ Cancel