Skip to content

Latest commit

 

History

148 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Migrations

Prerequirements:

Add a new migration:

To create a new EF Core migration, follow these steps:

  1. Navigate to the API project directory so that the .csproj file is accessible.
  2. Run the migration command, specifying the path to the infrastructure project: dotnet ef migrations add <migration name> --project <relative path to infrastructure project>

Example:

cd '.\Task Manager.Identity.IdentityAPI\'
dotnet ef migrations add 'Init Migration' --project '..\Task Manager.Identity.Infrastructure\Task Manager.Identity.Infrastructure.csproj'

About

Task Manager

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages