Lock Axios version due to recent supply chain attack. Fix migration failure when running php artisan migrate:fresh --seed

This commit is contained in:
Dennis Bold
2026-03-31 15:07:35 +01:00
parent 254e8cbdb7
commit 9da8e839c2
2 changed files with 8 additions and 3 deletions
@@ -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');
}
});
}