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

When building ephemeral Database get Migrations from nr-spar repo #37

Open
1 task
franTarkenton opened this issue Nov 7, 2024 · 0 comments
Open
1 task
Labels
enhancement New feature or request

Comments

@franTarkenton
Copy link
Member

Currently the development postgres database (local) that is created by the docker compose uses a single migration file that was pulled from the database init sql taken from here

For development the database structures should be as close as possible to what is actually deployed in openshift and in the on prem oracle database. For that reason the migrations in the docker compose should use the actual migrations that are used by the nr-spar app. These are found in the backend directory.. example: https://github.com/bcgov/nr-spar/blob/main/backend/src/main/resources/db/migration/V1__create_schema.sql

  • docker compose is modified to get the nr-spar repo migration files and then run the migrations.
@franTarkenton franTarkenton added the enhancement New feature or request label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: New
Development

No branches or pull requests

1 participant