Format files according to Biome standards
This commit is contained in:
1 parent
e17576856f
commit
9416317c5b
3 files changed
+4476
-2423
No files matched your search
+2
-1
@@ -7,7 +7,8 @@ import { defineConfig } from "drizzle-kit";
|
||||
// or `push` against it. CMS DDL stays in drizzle/migrations/*.sql applied by
|
||||
// `pnpm db:migrate`. Use `pnpm db:generate` only for draft SQL under drizzle/drafts/.
|
||||
const dbUrl = process.env.DATABASE_URL ?? "";
|
||||
const isPostgres = dbUrl.startsWith("postgres://") || dbUrl.startsWith("postgresql://");
|
||||
const isPostgres =
|
||||
dbUrl.startsWith("postgres://") || dbUrl.startsWith("postgresql://");
|
||||
|
||||
export default defineConfig({
|
||||
dialect: isPostgres ? "postgresql" : "mysql",
|
||||
|
||||
Reference in new issue
Block a user