Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrations fail on new install #1296

Open
ClearflySystems opened this issue Dec 7, 2023 · 0 comments
Open

Migrations fail on new install #1296

ClearflySystems opened this issue Dec 7, 2023 · 0 comments
Labels
bug Something isn't working pinned don't close this just for being stale

Comments

@ClearflySystems
Copy link

Bug severity
3

Describe the bug
Migrations fail to execute due to missing table 'PreMigrationKey'

To Reproduce
Create new DataSource using dbOptions set to use migrations from /data-store and migrationsRun:true. And initialize();

Observed behaviour
2.SimplifyRelations fails at line 16 - migrationGetExistingTableByName(queryRunner, 'PreMigrationKey', true) throws error as table does not exist.

Expected behaviour
Exepect migrations to run and DB tables to be created.

Versions (please complete the following information):

  • Veramo: 5.5.4 (@veramo/data-store": "^5.5.4-next.25)
  • Browser Chrome and Firefox
  • Node Version 18
@ClearflySystems ClearflySystems added the bug Something isn't working label Dec 7, 2023
@mirceanis mirceanis added the pinned don't close this just for being stale label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pinned don't close this just for being stale
Projects
None yet
Development

No branches or pull requests

2 participants