관리-도구
편집 파일: 2022_08_26_064401_create_chiarman_interviews_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateChiarmanInterviewsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('chiarman_interviews', function (Blueprint $table) { $table->id(); $table->integer('user_id'); $table->string('title'); $table->string('slug'); $table->string('image'); $table->longText('description'); $table->string('meta_title')->nullable(); $table->longText('meta_keywords')->nullable(); $table->longText('meta_description')->nullable(); $table->string('og_image')->nullable(); $table->softDeletes(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('chiarman_interviews'); } }