pleroma/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-06-30 21:08:07 -04:00
def up do
execute("create extension if not exists \"uuid-ossp\"")
end
2019-06-30 21:08:07 -04:00
def down, do: :ok
end