ash_hq/priv/sqlite_repo/migrations/20240112165439_remove_extension_fields.exs

25 lines
486 B
Elixir
Raw Permalink Normal View History

2024-01-13 06:43:25 +13:00
defmodule AshHq.Repo.Migrations.RemoveExtensionFields do
@moduledoc """
Updates resources based on their most recent snapshots.
This file was autogenerated with `mix ash_sqlite.generate_migrations`
"""
use Ecto.Migration
def up do
alter table(:extensions) do
remove :doc
remove :sanitized_name
end
end
def down do
alter table(:extensions) do
add :sanitized_name, :text, null: false
add :doc, :text, null: false
end
end
end