Skip to content

Commit

Permalink
fix: memperbaiki typing
Browse files Browse the repository at this point in the history
  • Loading branch information
reacto11mecha committed Jun 24, 2024
1 parent 5c85e1f commit 64767cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/db-migrate/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ console.log("launched...");
const connectionStr = new URL(
`mysql://${process.env.DB_HOST}/${process.env.DB_NAME}`,
);
connectionStr.username = process.env.DB_USERNAME;
connectionStr.password = process.env.DB_PASSWORD;
connectionStr.username = process.env.DB_USERNAME as string;
connectionStr.password = process.env.DB_PASSWORD as string;

const sql = await mysql.createConnection(connectionStr.href);
const db = drizzle(sql);
Expand Down

0 comments on commit 64767cc

Please sign in to comment.