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