mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update migration file
This commit is contained in:
@@ -12,9 +12,10 @@ return new class extends Migration
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('settings', function (Blueprint $table) {
|
||||
$table->dropColumn(['section', 'subsection', 'hint', 'setting']);
|
||||
$table->primary(['name']);
|
||||
});
|
||||
if (Schema::hasColumns('settings', ['section', 'subsection', 'hint', 'setting'])) {
|
||||
$table->dropColumn(['section', 'subsection', 'hint', 'setting']);
|
||||
$table->primary(['name']);
|
||||
} });
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user