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