public function up() { Schema::table('pages', function (Blueprint $table) { $table->boolean('draft')->default(false); $table->index('draft'); }); }