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', out: './drizzle',
dialect: 'postgresql', dialect: 'postgresql',
dbCredentials: { dbCredentials: {
// @ts-ignore url: process.env.DATABASE_URL as string,
url: Bun.env.DATABASE_URL,
}, },
}) })

Loading…
Cancel
Save