mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-16 08:02:40 +00:00
17 lines
366 B
Elixir
17 lines
366 B
Elixir
defmodule Bonfire.Repo.Migrations.InitPointers do
|
|
@moduledoc false
|
|
use Ecto.Migration
|
|
import Needle.Migration
|
|
import Needle.ULID.Migration
|
|
|
|
def up(), do: init(:up)
|
|
def down(), do: init(:down)
|
|
|
|
defp init(dir) do
|
|
# this one is optional but recommended
|
|
init_pointers_ulid_extra(dir)
|
|
# this one is not optional
|
|
init_pointers(dir)
|
|
end
|
|
end
|