Oban.Migrations.down

You're seeing just the function down, go back to Oban.Migrations module for more information.

Run the down changes for all migrations between the current version and the initial version.

Example

Run all migrations from current version down to the first:

Oban.Migrations.down()

Run migrations down to a specified version:

Oban.Migrations.down(version: 5)

Run migrations in an alternate prefix:

Oban.Migrations.down(prefix: "payments")