Skip to main content

priv/templates/ez_auth.install/00000000000001_ez_auth_prepare_database.exs.eex

# This file was generated by `mix ez_auth.install`.
# Regenerate it by rerunning the installer after updating EzAuth.

defmodule <%= inspect repo %>.Migrations.EzAuthPrepareDatabase do
  use Ecto.Migration

  def change do
    execute "CREATE EXTENSION IF NOT EXISTS citext", ""
    execute "CREATE SCHEMA IF NOT EXISTS auth", "DROP SCHEMA IF EXISTS auth"
  end
end