ash_hq/priv/repo/migrations/20240403005622_install_5_extensions.exs
2024-04-02 21:17:40 -04:00

27 lines
1,021 B
Elixir

defmodule AshHq.Repo.Migrations.Install5Extensions20240403005620 do
@moduledoc """
Installs any extensions that are mentioned in the repo's `installed_extensions/0` callback
This file was autogenerated with `mix ash_postgres.generate_migrations`
"""
use Ecto.Migration
def up do
execute("CREATE EXTENSION IF NOT EXISTS \"pg_trgm\"")
execute("CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\"")
execute("CREATE EXTENSION IF NOT EXISTS \"citext\"")
execute("CREATE EXTENSION IF NOT EXISTS \"pg_stat_statements\"")
execute("CREATE EXTENSION IF NOT EXISTS \"sslinfo\"")
end
def down do
# Uncomment this if you actually want to uninstall the extensions
# when this migration is rolled back:
# execute("DROP EXTENSION IF EXISTS \"pg_trgm\"")
# execute("DROP EXTENSION IF EXISTS \"uuid-ossp\"")
# execute("DROP EXTENSION IF EXISTS \"citext\"")
# execute("DROP EXTENSION IF EXISTS \"pg_stat_statements\"")
# execute("DROP EXTENSION IF EXISTS \"sslinfo\"")
end
end