관리-도구
편집 파일: 2022_02_24_103827_create_refund_statuses_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateRefundStatusesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('refund_statuses', function (Blueprint $table) { $table->id(); $table->unsignedBigInteger('refund_request_id')->nullable(); $table->string('change_by')->nullable(); $table->unsignedBigInteger('change_by_id')->nullable(); $table->string('status')->nullable(); $table->longText('message')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('refund_statuses'); } }