ash_postgres/priv/test_repo/migrations/20240911225319_install_1_extensions.exs

20 lines
555 B
Elixir
Raw Normal View History

2024-09-13 01:11:26 +12:00
defmodule AshPostgres.TestRepo.Migrations.Install1Extensions20240911225317 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 \"ltree\"")
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 \"ltree\"")
end
end