added seed data; image uploads via server actions; infinite article grid
This commit is contained in:
@@ -16,3 +16,5 @@ const conn = globalForDb.conn ?? postgres(env.DATABASE_URL);
|
||||
if (env.NODE_ENV !== "production") globalForDb.conn = conn;
|
||||
|
||||
export const db = drizzle(conn, { schema });
|
||||
|
||||
export type DBType = typeof db;
|
||||
|
||||
Reference in New Issue
Block a user