kit-clj / kit-clj.github.io

Kit documentation
https://kit-clj.github.io/
20 stars 27 forks source link

Database migration helper functions #11

Closed arca0 closed 2 years ago

arca0 commented 2 years ago

The helper functions from migratus.core were specified without (:db.sql/migrations state/system) so they couldn't be copied and pasted directly to REPL to execute without problems. I assumed that since the last function: (migratus.core/create-migration "add-guestbook-table") provided the parameter, we would prefer these function calls to be complete.

If not, we can simply mention (:db.sql/migrations state/system) just under the list for clarity.

Also, reset-db seems to be just reset now, if I didn't miss anything. Also removed a dead link at the very end.

yogthos commented 2 years ago

good catch!