database/migrations/2021_07_08_091655_add_tags_column_to_config_table.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down(): void
    {
        $tableName = config('laravel-config.table');
        if (Schema::hasColumn($tableName, 'tags')) {
            Schema::table($tableName, function (Blueprint $table) {
                $table->dropColumn('tags');
            });
        }
    }
public function down ( ) : void { $ tableName = config ( 'laravel-config.table' ) ; if ( Schema :: hasColumn ( $ tableName , 'tags' ) ) { Schema :: table ( $ tableName , function ( Blueprint $ table ) { $ table -> dropColumn ( 'tags' ) ; } ) ; } }
Reverse the migrations.
Reverse the migrations .