diff --git a/packages/database/drizzle.config.ts b/packages/database/drizzle.config.ts index 0678c96..a6d121f 100644 --- a/packages/database/drizzle.config.ts +++ b/packages/database/drizzle.config.ts @@ -8,7 +8,7 @@ loadEnvConfig(process.cwd()); export const env = createEnv({ server: { POSTGRES_URL: z.string().url(), - NODE_ENV: z.enum(['development', 'test', 'production']), + NODE_ENV: z.enum(['development', 'test', 'production']).optional(), }, runtimeEnv: { POSTGRES_URL: process.env.POSTGRES_URL, diff --git a/packages/database/src/schema/resources/resources.ts b/packages/database/src/schema/resources/resources.ts index 26d66ce..92989e2 100644 --- a/packages/database/src/schema/resources/resources.ts +++ b/packages/database/src/schema/resources/resources.ts @@ -60,7 +60,7 @@ export const Resources = pgTable('resources', { .unique(), name: text('name').notNull(), designTokens: - json('design_tokens').$type>(), + json('design_tokens').$type>(), }); export const InsertResourcesSchema = createInsertSchema(Resources, {