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: migration error

Brad Barbin4147724ccdd5
diff --git a/packages/database/src/types.ts b/packages/database/src/types.ts
index 660efa5d35..7f1e85c8a0 100644
--- a/packages/database/src/types.ts
+++ b/packages/database/src/types.ts
@@ -3161,7 +3161,6 @@ export type Database = {
customerId: string
customerLocationId: string | null
customFields: Json | null
- externalId: Json | null
id: string
userId: string | null
}
@@ -3170,7 +3169,6 @@ export type Database = {
customerId: string
customerLocationId?: string | null
customFields?: Json | null
- externalId?: Json | null
id?: string
userId?: string | null
}
@@ -3179,7 +3177,6 @@ export type Database = {
customerId?: string
customerLocationId?: string | null
customFields?: Json | null
- externalId?: Json | null
id?: string
userId?: string | null
}
@@ -19356,7 +19353,6 @@ export type Database = {
Row: {
contactId: string
customFields: Json | null
- externalId: Json | null
id: string
supplierId: string
supplierLocationId: string | null
@@ -19365,7 +19361,6 @@ export type Database = {
Insert: {
contactId: string
customFields?: Json | null
- externalId?: Json | null
id?: string
supplierId: string
supplierLocationId?: string | null
@@ -19374,7 +19369,6 @@ export type Database = {
Update: {
contactId?: string
customFields?: Json | null
- externalId?: Json | null
id?: string
supplierId?: string
supplierLocationId?: string | null
diff --git a/packages/database/supabase/functions/lib/types.ts b/packages/database/supabase/functions/lib/types.ts
index 660efa5d35..7f1e85c8a0 100644
--- a/packages/database/supabase/functions/lib/types.ts
+++ b/packages/database/supabase/functions/lib/types.ts
@@ -3161,7 +3161,6 @@ export type Database = {
customerId: string
customerLocationId: string | null
customFields: Json | null
- externalId: Json | null
id: string
userId: string | null
}
@@ -3170,7 +3169,6 @@ export type Database = {
customerId: string
customerLocationId?: string | null
customFields?: Json | null
- externalId?: Json | null
id?: string
userId?: string | null
}
@@ -3179,7 +3177,6 @@ export type Database = {
customerId?: string
customerLocationId?: string | null
customFields?: Json | null
- externalId?: Json | null
id?: string
userId?: string | null
}
@@ -19356,7 +19353,6 @@ export type Database = {
Row: {
contactId: string
customFields: Json | null
- externalId: Json | null
id: string
supplierId: string
supplierLocationId: string | null
@@ -19365,7 +19361,6 @@ export type Database = {
Insert: {
contactId: string
customFields?: Json | null
- externalId?: Json | null
id?: string
supplierId: string
supplierLocationId?: string | null
@@ -19374,7 +19369,6 @@ export type Database = {
Update: {
contactId?: string
customFields?: Json | null
- externalId?: Json | null
id?: string
supplierId?: string
supplierLocationId?: string | null