Format files according to Biome standards
This commit is contained in:
+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