From 0d6550acae3c79fb430cdcc70c8bb6f016a4f667 Mon Sep 17 00:00:00 2001 From: Theodore Li Date: Wed, 5 Aug 2026 13:31:23 -0700 Subject: [PATCH] improvement(tables): raise the max column limit to 1000 Bumps TABLE_LIMITS.MAX_COLUMNS_PER_TABLE from 50 to 1000. Every validation site (schema validation, add-column, bulk add, workflow output columns, and the boundary contract) already derives from this constant. --- apps/sim/lib/table/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/sim/lib/table/constants.ts b/apps/sim/lib/table/constants.ts index 216e1e826e5..3b663cd6fef 100644 --- a/apps/sim/lib/table/constants.ts +++ b/apps/sim/lib/table/constants.ts @@ -9,7 +9,7 @@ export const TABLE_LIMITS = { MAX_TABLES_PER_WORKSPACE: 100, MAX_ROWS_PER_TABLE: 10000, MAX_ROW_SIZE_BYTES: 400 * 1024, // 400KB - MAX_COLUMNS_PER_TABLE: 50, + MAX_COLUMNS_PER_TABLE: 1000, MAX_TABLE_NAME_LENGTH: 128, MAX_COLUMN_NAME_LENGTH: 50, MAX_DESCRIPTION_LENGTH: 500,