5 comments (5 comments)14 reactions (14 reactions)0 assignees (0 assignees)PowerShell1,625 stars (1,625 stars)1,961 forks (1,961 forks)batch import
area-migrationshelp wanted
説明
This would primarily be:
- Best practices (For example, don't run migrations on app startup, generate scripts, etc.)
- How to generate scripts
- Possibly also how to use ef.exe
- How to deploy scripts to common places--e.g. Azure
- Possibly pros and cons of doing this a maintenance window as opposed to against a running app, and strategies for doing it against a running app if this is needed.
- Issue 種別
- documentation
- 調査方針
- Review existing documentation on migrations in the EntityFramework.Docs repo. Write a new page covering best practices for deploying migrations, including how to generate SQL scripts using 'dotnet ef migrations script', and strategies for deploying to Azure. Consider adding a comparison of running migrations during deployment vs. using script generation.