spc-pleroma/priv/repo/migrations/20181201104428_add_uuid_ext...

10 lines
179 B
Elixir

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