Closed sirmspencer closed 1 year ago
Have you added the up/down fn declarations?
{:ns app.migrations.import-users
:up-fn migrate-up
:down-fn migrate-down
:transaction? true}
Yes. And migratus/migrate works by calling the up function.
Its working now. Not sure what happened.
Hmm, maybe stale repl state.
code-based migrations are super cool by the way. I have everything set up and running migrate picks up on the code-based migrations. up and don't don't seem to. I am using the same config, etc as our SQL migrations that do work with up and down.