C#C
C#3y ago
robf120

❔ Scaffold migrations from existing DB

I have an existing dotnet web api that wasn’t code migrations and instead used db diffing up until now, i want to switch over to using code based migrations but I’m unsure how to do that. I’ve only ever added migrations to a fresh project. Would the db scaffold command suffice?
Was this page helpful?