<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateEdmRandom extends Migration { public function up() { Schema::create('edm_random', function (Blueprint $gCb7f) { $gCb7f->increments('id'); $gCb7f->timestamps(); $gCb7f->string('tags', 200)->nullable()->comment(''); $gCb7f->tinyInteger('type')->nullable()->comment(''); $gCb7f->string('textContent', 400)->nullable()->comment(''); $gCb7f->string('imageContent', 200)->nullable()->comment(''); $gCb7f->text('richContent')->nullable()->comment(''); }); } public function down() { } }