/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
if (Schema::hasTable('hlogeon_scms_types')) {
if (Schema::hasColumns('hlogeon_scms_types', ['list_layout_id', 'enable_own_sidebar'])) {
Schema::table('hlogeon_scms_types', function (Blueprint $table) {
$table->dropColumn('list_layout_id');
$table->dropColumn('type_layout_id');
$table->dropColumn('enable_own_sidebar');
$table->string('type_layout');
});
}
}
}