In the project that I work with, I sometimes have to deal with changes in the structure of the table, for example, with the addition of fields. Is there a script that can be used to generate an SQL migration file with only changes?
PHP, bash or Perl will be nice. The database is postgresql.
source
share