Applying the EF core migration

It's time to use the dotnet-ef command-line tool to update our database with the latest changes. Open a command line, navigate to the project's root folder, and type the following commands:

dotnet ef migrations add "RefreshTokens" –o "Data\Migrations"dotnet ef Database update

This will create the Tokens table and pave the way for all that's yet to come.

Get ASP.NET Core 2 and Angular 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.