Skip to content

Commit

Permalink
fix: fix missing await when running migration
Browse files Browse the repository at this point in the history
  • Loading branch information
pradel committed May 19, 2024
1 parent edc0f78 commit 77902cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/selfish-insects-punch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"stackspulse": patch
---

Fix await when running libsql migration.
2 changes: 1 addition & 1 deletion scripts/drizzle-migrate.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const client = createClient({
const db = drizzle(client);

async function main() {
migrate(db, { migrationsFolder: "./drizzle" });
await migrate(db, { migrationsFolder: "./drizzle" });
console.info("Migrated successfully");
process.exit(0);
}
Expand Down

0 comments on commit 77902cd

Please sign in to comment.