<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use ModStart\Core\Dao\ModelManageUtil; class CreateFakaProduct extends Migration { public function up() { Schema::create('faka_product', function (Blueprint $EeFZ9) { $EeFZ9->increments('id'); $EeFZ9->timestamps(); $EeFZ9->integer('categoryId')->nullable()->comment(''); $EeFZ9->string('title', 200)->nullable()->comment(''); $EeFZ9->string('cover', 200)->nullable()->comment(''); $EeFZ9->decimal('price', 20, 2)->nullable()->comment(''); $EeFZ9->integer('stock')->nullable()->comment(''); $EeFZ9->tinyInteger('deliverType')->nullable()->comment(''); $EeFZ9->text('content')->nullable()->comment(''); $EeFZ9->string('customField1', 200)->nullable()->comment(''); $EeFZ9->string('customField2', 200)->nullable()->comment(''); $EeFZ9->string('customField3', 200)->nullable()->comment(''); $EeFZ9->string('customField4', 200)->nullable()->comment(''); $EeFZ9->string('customField5', 200)->nullable()->comment(''); }); } public function down() { } }