tinyInteger('visible') ->after('order') ->unsigned() ->default(\CachetHQ\Cachet\Models\ComponentGroup::VISIBLE_AUTHENTICATED); $table->index('visible'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('component_groups', function (Blueprint $table) { $table->dropColumn('visible'); }); } }