You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the migration block I am imagining a way to set conditionals for if a migration should run.
Some conditionals can be:
don't run after a given date (this can be nice if you are setting up a new environment with your config and so you don't have to skip all the migrations for it)
Variable conditions, to allow you to for instance only run a migration if it matches a variable in the config variables inputed.
Example of the block:
migration {
condition {
test = "OnlyBefore"
Value = "2021-08-14T00:00"
}
condition {
test = "MatchesEnvironment"
value = [
"dev",
"prod"
]
}
}
The text was updated successfully, but these errors were encountered:
In the
migration
block I am imagining a way to set conditionals for if a migration should run.Some conditionals can be:
Example of the block:
The text was updated successfully, but these errors were encountered: