| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 | <?phpuse Illuminate\Support\Facades\Schema;use Illuminate\Database\Schema\Blueprint;use Illuminate\Database\Migrations\Migration;class CreateFeatureTable extends Migration{    /**     * Run the migrations.     *     * @return void     */    public function up()    {        Schema::create('feature', function (Blueprint $table) {            $table->increments('id');            $table->string('name')->length(20)->nullable();            $table->integer('parentid')->length(5)->nullable();            $table->string('district')->length(20)->nullable();            $table->string('personal')->length(20)->nullable();            $table->text('content')->nullable();            $table->string('title')->length(30)->nullable();            $table->string('photo')->length(30)->nullable();            $table->string('occupation')->length(20)->nullable();            $table->text('summary')->nullable();            $table->string('addtime')->length(20)->nullable();            $table->integer('read')->length(11)->nullable();            $table->string('is_display')->length(10)->nullable();            $table->string('seo_keywords')->length(50)->nullable();            $table->text('seo_description')->nullable();            $table->integer('article_order')->length(5)->nullable();            $table->text('is_url')->nullable();            $table->integer('type_id')->length(5)->nullable();            $table->integer('rc_show')->length(5)->nullable();            $table->timestamps();        });    }    /**     * Reverse the migrations.     *     * @return void     */    public function down()    {        Schema::dropIfExists('feature');    }}
 |