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'); } }