C
C#2y ago
Meikel

❔ Code in EF Migrations?

My app will need to update the database when you run a newer version of the app than before. This a very common issue and you usually use EF (Core) to migrate the database. What about non-db tasks? For example what if I want to move my files from one storage location to another? I could put the code into the db migration and it would most likely work. I don't think that's the best approach because EF migrations are designed to migrate the database and nothing else. What's an alternative to that approach?
2 Replies
phaseshift
phaseshift2y ago
Write your own stuff
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server