mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 02:01:33 +00:00
Update settings migration
This commit is contained in:
@@ -13,6 +13,8 @@ return new class extends Migration
|
||||
{
|
||||
Schema::table('settings', function (Blueprint $table) {
|
||||
if (Schema::hasColumns('settings', ['section', 'subsection', 'hint', 'setting'])) {
|
||||
$table->dropPrimary();
|
||||
$table->dropIndex(['ui_settings_setting']);
|
||||
$table->dropColumn(['section', 'subsection', 'hint', 'setting']);
|
||||
$table->index(['name']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user