Static data with wildcards
rickjr82
Posts: 21
Is it possible to compare/redeploy static data with wildcards?
i.e.
in DEV DB
name
env.property
value
DEV.value
in Prod DB
name
env.property
value
PROD.value
I would like a static data deploy to not see any difference between those rows
Also, I would be interested in transformations where if the above property didn't exist it would be generated automatically.
i.e.
in DEV DB
name
env.property
value
DEV.value
in Prod DB
name
env.property
value
PROD.value
I would like a static data deploy to not see any difference between those rows
Also, I would be interested in transformations where if the above property didn't exist it would be generated automatically.
Comments
When you deploy static data, meaning static data that you have linked to source control, it shows up as a series of INSERT statements, one for each individual row. You can't filter columns from that row.
The intention is that static data is "seed" data that your database needs to function.
Hopefully this helps.
In all environments, I may need the same rows, but the correct values for each may(or may not) change depending on which environment I am in.
For a property prop1 following the pattern prop.*.value
In DEV:
name value
prop1 prop.DEV.value
in UAT:
prop1 prop.UAT.value
I would want the that middle part to be ignored so I could make sure my properties are all there and not overwritten with incorrect values on deploy.
for: prop.*.value
prop.DEV.value = prop.UAT.value
How do you want to proceed? Do you want to call me, or should I continue posting?