To apply the migration to the existing database schema without losing the existing data, run the following command from our WorldCities project's root folder:
dotnet ef database update
The dotnet ef tool will then apply the necessary updates to our SQL database schema and output the relevant information—as well as the actual SQL queries—in the console buffer, as shown in the following screenshot:

Once the task has been completed, we should connect to our database using the SQL Server Management Studio tool that we installed back in Chapter 4, Data Model with Entity Framework Core—and check for the presence ...