C
C#•7mo ago
Rodersnow

Dotnet ef command

Good morning! I have a question about the dotnet ef commands. When ysing the dotnet ef remove-migration command, it removes the latest migration from the migration list. However, I'm curious to know if there's a way to remove or update a specific migration instead of just remove the latest one and create a new migration
7 Replies
Unknown User
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Rodersnow
Rodersnow•7mo ago
can I change a previous migration or do I need to remove it and recreate it?
Unknown User
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Rodersnow
Rodersnow•7mo ago
if a migration is located deep in the migration history, is it better to create a new migration rather than delete multiple migrations leading up to the one you wish to modify?
Unknown User
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Rodersnow
Rodersnow•7mo ago
thanks mate, now I understand🙂
Unknown User
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View