mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
Lock Axios version due to recent supply chain attack. Fix migration failure when running php artisan migrate:fresh --seed
This commit is contained in:
@@ -14,8 +14,13 @@ return new class extends Migration
|
||||
Schema::dropIfExists('xxxinfo');
|
||||
|
||||
Schema::table('releases', function (Blueprint $table) {
|
||||
$table->dropIndex('ix_releases_xxxinfo_id');
|
||||
$table->dropColumn('xxxinfo_id');
|
||||
if (Schema::hasIndex('releases', 'ix_releases_xxxinfo_id')) {
|
||||
$table->dropIndex('ix_releases_xxxinfo_id');
|
||||
}
|
||||
|
||||
if (Schema::hasColumn('releases', 'xxxinfo_id')) {
|
||||
$table->dropColumn('xxxinfo_id');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user