akkoma/priv/repo/migrations/20181201104428_add_uuid_extension.exs

10 lines
179 B
Elixir
Raw Permalink Normal View History

defmodule Pleroma.Repo.Migrations.AddUUIDExtension do
use Ecto.Migration
2019-07-01 01:08:07 +00:00
def up do
execute("create extension if not exists \"uuid-ossp\"")
end
2019-07-01 01:08:07 +00:00
def down, do: :ok
end