adds user accounts, service requests, dashboard, admin panel, better layout, db+altcha+auth support
This commit is contained in:
parent
dfbc3cade9
commit
0043a5bf3c
40 changed files with 3981 additions and 188 deletions
7
db/index.ts
Normal file
7
db/index.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
import postgres from 'postgres';
|
||||
import { drizzle } from 'drizzle-orm/postgres-js';
|
||||
import * as schema from './schema';
|
||||
|
||||
const sql = postgres(process.env.DATABASE_URL!);
|
||||
|
||||
export const db = drizzle(sql, { schema });
|
Loading…
Add table
Add a link
Reference in a new issue