Clean codebase- start from scratch

This commit is contained in:
2024-11-19 22:14:54 -05:00
parent 9d9aa52285
commit b4a05e0bcd
97 changed files with 6376 additions and 3624 deletions

View File

@@ -1,12 +1,11 @@
import { type Config } from "drizzle-kit";
import 'dotenv/config';
import { defineConfig } from 'drizzle-kit';
import { env } from "~/env";
export default {
schema: "./src/server/db/schema.ts",
dialect: "postgresql",
export default defineConfig({
out: './drizzle',
schema: './src/db/schema.ts',
dialect: 'postgresql',
dbCredentials: {
url: env.DATABASE_URL,
url: process.env.POSTGRES_URL!,
},
// tablesFilter: ["hristudio_*"],
} satisfies Config;
});