You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a Dev, Stage, Prod setup and would like to target only the environment being deployed during a EF Migration/Database-Update/"dotnet ef database update". We store each environments connection string in the environment specific appsettings.ENV.json config file. So how do we direct "dotnet ef database update" to use a specific environment?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
ID: 263f21d6-6edc-7582-e0e2-fa1c9670bcc0
Version Independent ID: b3dd8c84-18b1-f98d-64f1-7897d1482692
The text was updated successfully, but these errors were encountered:
fpiazza99
changed the title
How to select the appsettings.env.json for the appropriate database connection string
EF Migrarions: How to select the appsettings.env.json for the appropriate database connection string
Feb 10, 2019
We have a Dev, Stage, Prod setup and would like to target only the environment being deployed during a EF Migration/Database-Update/"dotnet ef database update". We store each environments connection string in the environment specific appsettings.ENV.json config file. So how do we direct "dotnet ef database update" to use a specific environment?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: