Replies: 1 comment
-
I found an approach to solve my problem, using TAGS Attribute in migrations definition. [Tags("DbA")] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an assembly with several migrations, which are separated into two namespaces, one MyAssembly.Schemas.DbA and the other MyAssembly.Schemas.DbB.
I want to run the migrations that are in the MyAssembly.Schemas.DbA namespace but not the ones that are in the other namespace.
Please help, I've been search but I haven't managed to find a solution yet.
Will I have to create two assemblies, one for each database, or is there another approach to this problem?
The code below executes all the migrations within the assembly?
Beta Was this translation helpful? Give feedback.
All reactions