love_php/database/migrations/2018_06_14_162555_vip_questions.php
2026-04-02 09:20:51 +08:00

35 lines
790 B
PHP

<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class VipQuestions extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('vip_questions', function (Blueprint $table) {
$table->increments('id');
$table->string('type',20)->comment("类型");
$table->string('questions', 200)->nullable()->comment('问题');
$table->timestamps();
$table->timestamp('deleted_at')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('vip_questions');
}
}