News for hackers. Stuff that matters.
Re:Why We Chose Rails to Build Gitlab by evanelias on Tuesday January 22, 2019 @11:00PM (#18975573)
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

[2] https://github.com/djrobstep/migra

[3] https://github.com/k0kubun/sqldef

[4] https://www.skeema.io/blog/2019/01/18/declarative/

Re:Why We Chose Rails to Build Gitlab by mythrwy on Wednesday January 23, 2019 @02:11PM (#18981551)
How Interesting. Thanks!