Skip to content

fix: correct migrations folder path in migration_script.mjs#181

Open
jakebromberg wants to merge 2 commits intomainfrom
fix/40-migration-script-path
Open

fix: correct migrations folder path in migration_script.mjs#181
jakebromberg wants to merge 2 commits intomainfrom
fix/40-migration-script-path

Conversation

@jakebromberg
Copy link
Member

Summary

  • Fixed migration_script.mjs which referenced src/db/migrations — a path that doesn't exist
  • Updated to shared/database/src/migrations to match the path used in drizzle.config.ts
  • Added unit test that verifies the migrations folder path is correct and resolves to an existing directory

Test plan

  • New unit test tests/unit/database/migration-script-path.test.ts passes
  • Test verified to fail before the fix and pass after

Made with Cursor

The script referenced 'src/db/migrations' which doesn't exist.
Updated to the correct relative path.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jakebromberg jakebromberg force-pushed the fix/40-migration-script-path branch from 99dbe6e to e150c2f Compare February 27, 2026 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant