3 ms·
Another option is a schema management tool that doesn't rely on migrations at all. I'm the author of one, Skeema [1], for MySQL/MariaDB. Others include migra [2
by evanelias 8y ago
Another option is a schema management tool that doesn't rely on migrations at all. I'm the author of one, Skeema [1], for MySQL/MariaDB. Others include migra [2] for Postgres, and sqldef [3] for MySQL or Postgres.
These all use a declarative approach [4], where the user just specifies the desired new state, by adding or changing the set of CREATE statements. The tool knows how to run the correct DDL to reach that new state.
[1] https://github.com/skeema/skeema https://github.com/skeema/skeema
[2] https://github.com/djrobstep/migra https://github.com/djrobstep/migra
[3] https://github.com/k0kubun/sqldef https://github.com/k0kubun/sqldef
[4] https://www.skeema.io/blog/2019/01/18/declarative/ https://www.skeema.io/blog/2019/01/18/declarative/
- mythrwy 8y agoHow Interesting. Thanks!