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

10 lines
179 B
Elixir
Raw Normal View History

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