mirror of
https://github.com/rybbit-io/rybbit.git
synced 2025-05-11 12:25:36 +02:00
* 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
19 lines
403 B
TypeScript
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,
|
|
});
|