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