🚨 fix: resolve all linter and typecheck warnings across codebase

This commit is contained in:
2026-04-07 14:42:24 -04:00
parent 54ca910609
commit f38b0188df
6 changed files with 12 additions and 10 deletions

View File

@@ -2,7 +2,11 @@ import { drizzle } from "drizzle-orm/postgres-js";
import postgres from "postgres";
import * as schema from "./schema";
const connectionString = process.env.DATABASE_URL!;
const connectionString = process.env.DATABASE_URL;
if (!connectionString) {
throw new Error("DATABASE_URL environment variable is required");
}
const client = postgres(connectionString, {
prepare: false,