This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
EF migration on startup in case of more than one replica #1952
Open
Description
Hello,
I think doing migration on app startup is not good idea in case there will be more than one replica in k8s.
Currently there is only one so it works fine but in real world you usually scale.
So far i know, EF migration doesn't handle situation when more migration runs in paralel.
Some people, including me, take this sample microservice app as reference, and could easily copy this and later be badly suprised.