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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -