Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

ignore user_notification_default partition table in schema generation

x032205c608303d2567
diff --git a/backend/scripts/generate-schema-types.ts b/backend/scripts/generate-schema-types.ts
index 111f425203..358a61b31b 100644
--- a/backend/scripts/generate-schema-types.ts
+++ b/backend/scripts/generate-schema-types.ts
@@ -85,10 +85,9 @@ const getZodDefaultValue = (type: unknown, value: string | number | boolean | Ob
};
const bigIntegerColumns: Record<string, string[]> = {
- "folder_commits": ["commitId"]
+ folder_commits: ["commitId"]
};
-
const main = async () => {
const tables = (
await db("information_schema.tables")
@@ -99,6 +98,7 @@ const main = async () => {
(el) =>
!el.tableName.includes("_migrations") &&
!el.tableName.includes("audit_logs_") &&
+ !el.tableName.includes("user_notifications_") &&
!el.tableName.includes("active_locks") &&
el.tableName !== "intermediate_audit_logs"
);