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

Automatically re-create initial migrations when building a release of FSH #674

Closed
fretje opened this issue May 18, 2022 · 1 comment
Closed
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@fretje
Copy link
Contributor

fretje commented May 18, 2022

Re-creating the initial migrations could probably be further automated and should be part of the build process (CI pipeline) of the fsh project when creating a new release...

The https://github.com/fullstackhero/dotnet-webapi-boilerplate/blob/main/scripts/add-update-db-migrations.ps1 script gets us there partly. But it needs all the different databases installed to be able to use it.
I think it would be possible to create a script that starts docker containers with the individual databases and uses those to generate the initial migration scripts, so it can be run anywhere regardless of which database engines are installed locally. It could then even be part of the CI pipeline (github actions) that actually builds the release.

@iammukeshm iammukeshm added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Apr 7, 2023
@FaroukOyekunle
Copy link

@fretje & @iammukeshm has this Issue been resolved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants