chessh/priv/repo/migrations/20230529193453_add_citext.exs

12 lines
211 B
Elixir

defmodule Chessh.Repo.Migrations.AddCitext do
use Ecto.Migration
def up do
execute("CREATE EXTENSION IF NOT EXISTS citext")
end
def down do
execute("DROP EXTENSION IF EXISTS citext")
end
end