ash_hq/priv/repo/migrations/20230216071704_add_function_deprecation_notices.exs

22 lines
421 B
Elixir
Raw Normal View History

defmodule AshHq.Repo.Migrations.AddFunctionDeprecationNotices do
@moduledoc """
Updates resources based on their most recent snapshots.
This file was autogenerated with `mix ash_postgres.generate_migrations`
"""
use Ecto.Migration
def up do
alter table(:functions) do
add(:deprecated, :text)
end
end
def down do
alter table(:functions) do
remove(:deprecated)
end
end
end