Files
netris-nestri/packages/core/drizzle.config.ts
Wanjohi f62fc1fb4b feat(www): Finish up on the onboarding (#210)
Merging this prematurely to make sure the team is on the same boat... like dang! We need to find a better way to do this. 

Plus it has become too big
2025-03-26 02:21:53 +03:00

19 lines
494 B
TypeScript

import { Resource } from "sst";
import { defineConfig } from "drizzle-kit";
const connection = {
user: Resource.Postgres.username,
password: Resource.Postgres.password,
host: Resource.Postgres.host,
};
export default defineConfig({
verbose: true,
strict: true,
out: "./migrations",
dialect: "postgresql",
dbCredentials: {
url: `postgres://${connection.user}:${connection.password}@${connection.host}/nestri`,
},
schema: "./src/**/*.sql.ts",
});