Database Migration - PascalHonegger/HeyImIn GitHub Wiki

Database Migration

This project uses the Entity Framework Core Migrations.

Install dotnet ef tools: dotnet tool install --global dotnet-ef

Create new migration: dotnet ef migrations add <MigrationName> --project Database --startup-project Database

Rollback migration: dotnet ef database update <previous-migration-name> --project Database --startup-project Database