Skip to content

Commit

Permalink
fix(lint): disable no floating promises
Browse files Browse the repository at this point in the history
  • Loading branch information
thearyadev committed Aug 5, 2024
1 parent fcb14b0 commit 28a62fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server/db/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ const conn = globalForDb.conn ?? postgres(env.DATABASE_URL);
if (env.NODE_ENV !== "production") globalForDb.conn = conn;

export const db = drizzle(conn, { schema });
await migrate(db, { migrationsFolder: "./drizzle" });
// eslint-disable-next-line @typescript-eslint/no-floating-promises
migrate(db, { migrationsFolder: "./drizzle" });

0 comments on commit 28a62fe

Please sign in to comment.