ETC
EF Core Migration PowerShell 오류
NicSub
2022. 5. 19. 10:50
728x90
반응형
dotnet ef migrations add Initial
dotnet ef migrations remove
삭제 오류메시지: The migration '20220518102320_Initial' has already been applied to the database. Revert it and try again. If the migration has been applied to other databases, consider reverting its changes using a new migration instead.
해결 -->
1. dotnet ef database update 0
2. dotnet ef migrations remove
업데이트 해주고 삭제.
오류 메시지: The name 'Initial' is used by an existing migration.
--> Initial 이미 존재함.
반응형