Skip to content

BC-8909 - add migration creation functionality and related tests#5499

Merged
SevenWaysDP merged 5 commits intomainfrom
BC-8909
Feb 10, 2025
Merged

BC-8909 - add migration creation functionality and related tests#5499
SevenWaysDP merged 5 commits intomainfrom
BC-8909

Conversation

@SevenWaysDP
Copy link
Contributor

@SevenWaysDP SevenWaysDP commented Feb 7, 2025

Description

Links to Tickets or other pull requests

Approval for review

  • DEV: If api was changed - generate-client:server was executed in vue frontend and changes were tested and put in a PR with the same branch name.
  • QA: In addition to review, the code has been manually tested (if manual testing is possible)
  • All points were discussed with the ticket creator, support-team or product owner. The code upholds all quality guidelines from the PR-template.

tableName: 'migrations', // name of database table with log of executed transactions
path: migrationsPath, // path to the folder with migrations
pathTs: migrationsPath, // path to the folder with TS migrations (if used, we should put path to compiled files in `path`)
pathTs: migrationsPath.replace('/dist/apps/server/migrations/mikro-orm', '/apps/server/src/migrations/mikro-orm'), // path to the folder with TS migrations (if used, we should put path to compiled files in `path`)
Copy link
Contributor

@CeEv CeEv Feb 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bei pathTs von dist auf den source code umzulenken ist sinnvoll. Warum aber nicht diesen direkt eintragen?
Vielleicht übersetzte ich das falsch, aber der Kommentar der vorher schon drin war, impliziert für mich das wir es genau umgedreht machen sollten. Was falsch ist. Können wir den Kommentar noch anpassen, bzw. Link zur Doku von pathTs. Da war das ganz gut beschrieben.

@sonarqubecloud
Copy link

@SevenWaysDP SevenWaysDP enabled auto-merge (squash) February 10, 2025 14:09
@SevenWaysDP SevenWaysDP merged commit 8b1ecd5 into main Feb 10, 2025
79 checks passed
@SevenWaysDP SevenWaysDP deleted the BC-8909 branch February 10, 2025 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants