Skip to content

Commit

Permalink
Fixed the path to migrations file.
Browse files Browse the repository at this point in the history
  • Loading branch information
raunak42 committed Sep 17, 2024
1 parent 63c838b commit c393baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/db/migrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dotenv.config();

async function main() {
await migrate(db, {
migrationsFolder: path.join(process.cwd(), './migrations'),
migrationsFolder: path.join(process.cwd(), '/lib/db/migrations'),
});
console.log(`Migrations complete`);
await client.end();
Expand Down

0 comments on commit c393baf

Please sign in to comment.