Fork me on GitHub
#sql
<
2019-03-04
>
seancorfield02:03:15

@kenny Sorry, man, was off doing chores. We run those scripts at the start of the test suite run for CI to build up an empty DB from scratch. On QA and production, we only run the "new" migrations, so the DB is updated as needed as part of each deployment.

seancorfield02:03:16

But for dev/CI, we tear down the DB to nothing between sessions -- we use Docker for Percona (MySQL) and various other "ephemeral" dev external systems.

seancorfield02:03:52

There are quite a few migrations libraries for Clojure, but we rolled our own for... reasons...

jmayaalv15:03:24

@kenny there a few libs to do migrations on clojure: i've used both of them succesfully: https://github.com/weavejester/ragtime https://github.com/yogthos/migratus

kenny17:03:02

@seancorfield @jmayaalv Thanks for the info. Very helpful 🙂