How do you create a migration?
(e.g. Add-Migration)
Use one of the following commands:
.NET CLI:
dotnet ef migrations add MigrationName
Package Manager Console:
Add-Migration MigrationName
This creates a migration file with Up() and Down() methods, and a snapshot of the current
model.