Derp. Run if the column DOES exist

This commit is contained in:
snipe
2026-04-14 22:38:44 +01:00
parent 676cd66e4b
commit f3ed2d9dd8
@@ -65,7 +65,7 @@ class DenormalizedEolAndAddColumnForExplicitDateToAssets extends Migration
]);
Schema::table('companies', function (Blueprint $table) {
if (! Schema::hasColumn('companies', 'deleted_at')) {
if (Schema::hasColumn('companies', 'deleted_at')) {
$table->dropColumn('deleted_at');
}
});