-
Notifications
You must be signed in to change notification settings - Fork 0
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
Put application tables in schema #201
Conversation
When creating new migrations from console, does it use the correct schema automaticly? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Also nice to improve naming of azure resources.
Yeah (tested to be safe😅) |
Description
It's best practice to put the tables that belong to our application in its own schema (namespacing). It also makes managing access easier.
We also ensure that both developers and the application has access to Hangfire tables. This is necessary if/when we need to troubleshoot. This also enables us to create a separate Hangfire dashboard application if we see that it is needed.
We can also enable Hangfire dashboard in our main app, but our main app will be blocked from the open internet and ingress will only be allowed through APIM. In theory it should be possible to configure APIM such that it can be used with Hangfire dashboard. But I think it would be harder (especially when we add OIDC login with its re-directs to it).
After this is merged all developers need to wipe their local database. (Delete docker database container, re-run "docker-compose up -d".)
Related Issue(s)
Verification
Documentation