ash_hq/priv/repo/migrations/20230402055414_migrate_resources51.exs
Zach Daniel a6493f35f2 improvement: better source citing, not taking up token space
improvement: stylistic stuff, greeting message
2023-04-02 02:14:52 -04:00

21 lines
No EOL
436 B
Elixir

defmodule AshHq.Repo.Migrations.MigrateResources51 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(:questions) do
add :sources, {:array, :map}, null: false, default: []
end
end
def down do
alter table(:questions) do
remove :sources
end
end
end