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