I’ve got a change that implements CustomTaskChange and modifies the database. Unfortunately, we can’t just create SQL so using CustomSqlChange isn’t an option.
From what I can find, there’s no way for us to know from within a CustomTaskChange that the user is running in update mode vs updateSQL. Currently we’re in a situation where an updateSQL operation will update the database because our CustomTaskChange doesn’t know not to touch the database.
I’ve seen some posts that mention that 2.0 would include more hooks to let custom changes know that they were running in updateSQL but I don’t see any reference to that in the code.
Is there a way to get to the config info through some factory?