Optimization of large SQL migrations

Is there a tool that detects β€œreverse” operations (for example, adds a column / table at the beginning, deletes it later) in a large (1800 statement) migration script?

+4
source share
1 answer

There is a tool that is designed to version control your database, to automate both structural changes and data transfer as part of the process of updating your application. I have used this tool successfully and with great effect for a number of years. I can not recommend it highly enough.

http://www.liquibase.org/

0
source

Source: https://habr.com/ru/post/1485570/


All Articles