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');
}
});
}
+1 -1
View File
@@ -10,7 +10,7 @@
"devDependencies": {
"@tailwindcss/forms": "^0.5.11",
"@tailwindcss/vite": "^4.2.1",
"axios": "^1.13.6",
"axios": "1.14.0",
"lodash": "^4.17.23",
"npm-check-updates": "^19.6.3",
"prettier": "3.8.1",