An SQL script is a file containing SQL statements that can create or modify database structures or data. For the MyBGList production database, it provides a reviewable way to create the missing board-game tables. section 12.4.4
A deployment script offers practical advantages:
- Generate it from the development machine with the dotnet-ef CLI, then execute it against the production database. section 12.4.4
- Have an experienced DBA review and fine-tune the raw SQL for production requirements or to prevent accidental data loss. section 12.4.4
- Use a dedicated SQL management tool, such as SSMS, because scripts are not self-contained executables. section 12.4.4
Generate the script
Run `dotnet ef migrations script -o ./Migrations/script.sql` on the development machine, review the resulting SQL, and execute it with a SQL management tool. section 12.4.4
> dotnet ef migrations script -o ./Migrations/script.sql
Inspect the concrete dotnet-ef command used to write a migration script to a file. section 12.4.4

