All current db functions are written. Just need to make api routes then we are done

This commit is contained in:
2024-10-16 16:51:08 -05:00
commit f734551d3a
21 changed files with 5140 additions and 0 deletions

11
drizzle.config.ts Normal file
View File

@@ -0,0 +1,11 @@
import { type Config } from "drizzle-kit";
import { env } from "~/env";
export default {
schema: "./src/server/db/schema.ts",
dialect: "postgresql",
dbCredentials: {
url: env.DATABASE_URL,
}
} satisfies Config;