import { defineConfig } from "drizzle-kit";

const dbURL = `postgres://${process.env.DATABASE_USER}:${process.env.DATABASE_PASSWORD}@${process.env.DATABASE_HOST}:${process.env.DATABASE_PORT}/${process.env.DATABASE_DB}`;

export default defineConfig({
	dialect: "postgresql",
	schema: "./dist/db/schema",
	out: "./migrations",
	dbCredentials: { url: dbURL },
});
