ash_postgres/priv/test_repo/migrations/20240224001913_migrate_resources16.exs

21 lines
424 B
Elixir
Raw Normal View History

defmodule AshPostgres.TestRepo.Migrations.MigrateResources16 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(:posts) do
add :list_of_stuff, {:array, :map}
end
end
def down do
alter table(:posts) do
remove :list_of_stuff
end
end
end