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.

ci: force database rebuild

Brad Barbin4c4b7bd0d4f7
diff --git a/ci/src/migrations.ts b/ci/src/migrations.ts
index e85a56678b..b62931c224 100644
--- a/ci/src/migrations.ts
+++ b/ci/src/migrations.ts
@@ -58,11 +58,11 @@ async function migrate(): Promise<void> {
await $$`supabase link`;
console.log(`✅ 🐣 Starting migrations for ${customer.name}`);
- await $$`supabase db push`;
+ await $$`supabase db reset --linked`;
console.log(`✅ 🐣 Starting deployments for ${customer.name}`);
await $$`supabase functions deploy`;
- if (!customer.seeded) {
+ if (true || !customer.seeded) {
try {
console.log(`✅ 🌱 Seeding ${customer.name}`);
await $$`tsx ../../packages/database/src/seed.ts`;