migrate up command migrates all pending migration for a given migration set.
After successful migration its
version is put into database migration table (by default
At the beginning of an operation advisory lock is acquired to prevent other migrations to run simultaneously.
- Migrations are executed in the order defined by migration set, NOT lexicographically.
- When migration table does not exist, it will be created
krab migrate up [set]
set- name of the set to migrate.
default migration set you would use:
krab migrate up default