Execute migrations with golang-migrate
userdba: OS User responsible for executing the migrations, must have the proper permissions in the target database appdir: the parent dir of the migrations directory db: Name of the database
force: The version of migrations to be "forced" down: Execute down migrations up: Execute up migrations
- hosts: servers
roles:
- {
role: oscbco.sequelize_migrate,
userdba: "{{ global_userdba }}",
appdir: "{{ global_appdir }}"
}
MIT
oscbco.me