To do that, open a command line or Powershell prompt and go to our project's root folder, then write the following:
dotnet ef migrations add "Identity" -o "DataMigrations"
A new migration should then be added to the project:
The new migration files will be autogenerated in the DataMigrations folder.