Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

fix: change db:migrate to apply migrations instead of resetting database

Junaid Khan178137f822ce
diff --git a/packages/database/package.json b/packages/database/package.json
index cf96d153b5..e9773a5ae6 100644
--- a/packages/database/package.json
+++ b/packages/database/package.json
@@ -26,7 +26,7 @@
"db:function:new": "supabase functions new",
"db:init": "supabase init",
"db:kill": "supabase stop --no-backup",
- "db:migrate": "supabase db reset",
+ "db:migrate": "supabase migration up",
"db:migrate:new": "supabase migration new",
"db:seed": "tsx src/seed.ts",
"db:setup": "supabase db reset",