Skip to content

A free open source IT asset/license management system

changed the down method change

Godfrey Mf283a5f75541
diff --git a/database/migrations/2023_09_13_200913_fix_asset_model_min_qty_nullability.php b/database/migrations/2023_09_13_200913_fix_asset_model_min_qty_nullability.php
index d51827fc3b..c3b3d1e0d7 100644
--- a/database/migrations/2023_09_13_200913_fix_asset_model_min_qty_nullability.php
+++ b/database/migrations/2023_09_13_200913_fix_asset_model_min_qty_nullability.php
@@ -26,7 +26,7 @@ class FixAssetModelMinQtyNullability extends Migration
public function down()
{
Schema::table('models', function (Blueprint $table) {
- $table->integer('min_amt')->default(null)->change();
+ $table->integer('min_amt')->nullable(false)->change();
});
}
}