···11-# Replace with your DB credentials!
22-DATABASE_URL="postgres://user:password@host:port/db-name"
33-41# Generated using `openssl rand -base64 32`
52# Used to encrypt the DID stored in the cookies
63ENCRYPTION_PASSWORD=<generated base 64 string here>
bun.lockb
This is a binary file and will not be displayed.
-14
drizzle.config.ts
···11-import { defineConfig } from 'drizzle-kit';
22-if (!process.env.DATABASE_URL) throw new Error('DATABASE_URL is not set');
33-44-export default defineConfig({
55- schema: './src/lib/server/db/schema.ts',
66-77- dbCredentials: {
88- url: process.env.DATABASE_URL
99- },
1010-1111- verbose: true,
1212- strict: true,
1313- dialect: 'postgresql'
1414-});
-11
drizzle/0000_slippery_sleepwalker.sql
···11-CREATE TABLE "auth_session" (
22- "key" text PRIMARY KEY NOT NULL,
33- "session" json NOT NULL,
44- CONSTRAINT "auth_session_key_unique" UNIQUE("key")
55-);
66---> statement-breakpoint
77-CREATE TABLE "auth_state" (
88- "key" text PRIMARY KEY NOT NULL,
99- "state" json NOT NULL,
1010- CONSTRAINT "auth_state_key_unique" UNIQUE("key")
1111-);