increments('id'); $table->integer('author_id'); $table->string('title'); $table->text('excerpt')->nullable(); $table->text('body')->nullable(); $table->string('image')->nullable(); $table->string('slug')->unique(); $table->text('meta_description')->nullable(); $table->text('meta_keywords')->nullable(); $table->enum('status', Page::$statuses)->default(Page::STATUS_INACTIVE); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::drop('pages'); } }