Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update drizzle config to be up to date with the latest version #1881

Merged
merged 13 commits into from
May 10, 2024
Prev Previous commit
Next Next commit
Format code
  • Loading branch information
gcjbr committed May 10, 2024
commit 5c043b7be5cea7fdbd44de2957713c55ecadb4d3
2 changes: 1 addition & 1 deletion cli/template/extras/config/drizzle-config-postgres.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { env } from "~/env";

export default {
schema: "./src/server/db/schema.ts",
dialect: 'postgresql',
dialect: "postgresql",
dbCredentials: {
url: env.DATABASE_URL,
},
Expand Down
2 changes: 1 addition & 1 deletion upgrade/src/app/api/og/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,6 @@ async function getFont<TWeights extends readonly number[]>({
});

// Object.fromEntries is typed as returning any *sigh*
// eslint-disable-next-line @typescript-eslint/no-unsafe-return

return Object.fromEntries(await Promise.all(promises));
}
Loading