rybbit/server/drizzle.config.ts
Bill Yang 2d22dc6fee
init cloud version (#46)
* init cloud version

* remove unused endpoints

* implement deletion

* Add organization creation

* add getSitesUserHasAccessTo

* Add permission gating for sites

* add organization control

* remove username login

* support creating new sites for organizations

* Delete unused page

* wip
2025-03-09 18:06:48 -07:00

19 lines
403 B
TypeScript

import dotenv from "dotenv";
import { defineConfig } from "drizzle-kit";
dotenv.config();
export default defineConfig({
schema: "./src/db/postgres/schema.ts",
out: "./drizzle",
dialect: "postgresql",
dbCredentials: {
host: process.env.POSTGRES_HOST || "postgres",
port: 5432,
database: "analytics",
user: "frog",
password: "frog",
ssl: false,
},
verbose: true,
});