Skip to content

Commit

Permalink
Show upgrading to v12 in migration module docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sorentwo committed Feb 7, 2025
1 parent 8e6ca3e commit 611e6f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/oban/migration.ex
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ defmodule Oban.Migration do
additional migrations. To do this, generate a new migration:
```bash
mix ecto.gen.migration upgrade_oban_to_v11
mix ecto.gen.migration upgrade_oban_to_v12
```
Open the generated migration in your editor and call the `up` and `down` functions on
Expand All @@ -53,9 +53,9 @@ defmodule Oban.Migration do
defmodule MyApp.Repo.Migrations.UpgradeObanToV11 do
use Ecto.Migration
def up, do: Oban.Migrations.up(version: 11)
def up, do: Oban.Migrations.up(version: 12)
def down, do: Oban.Migrations.down(version: 11)
def down, do: Oban.Migrations.down(version: 12)
end
```
Expand Down

0 comments on commit 611e6f7

Please sign in to comment.