5 留言 (5 留言)14 反應 (14 反應)0 負責人 (0 負責人)PowerShell1,625 star (1,625 star)1,961 fork (1,961 fork)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.
- 議題類型
- 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.