fixed issue where using Bun env in drizzle config will reset the table

main
TZGyn 1 year ago
parent 5a08d21c39
commit 3592673cef
Signed by: TZGyn
GPG Key ID: 122EAF77AE81FD4A

@ -6,7 +6,6 @@ export default defineConfig({
out: './drizzle',
dialect: 'postgresql',
dbCredentials: {
// @ts-ignore
url: Bun.env.DATABASE_URL,
url: process.env.DATABASE_URL as string,
},
})

Loading…
Cancel
Save