Liquibase: runOnChange + rollback -
according liquibase docs stored procs/triggers etc should stored separately in single copy , added changeset runonchange update them each change. recommended way rollback previous change? idea have copy them separate folder each release , add apply operation of version rollback (for example, have sql\procs\current last version added changelog apply , sql\procs\1.0.0 copy of sql\procs\current when started new 1.0.0 release). there best practices it? thanks!
we keep single copy of replaceable objects (procs/triggers/views etc) , use version control system (vcs) - git in our case.
when want rollback previous version, revert relevant commit in vcs , run liquibase update.
tutorial using oracle - working tutorial 2 years.
Comments
Post a Comment