ash_authentication/priv/repo/migrations/20230302020116_migrate_resources2.exs

23 lines
No EOL
482 B
Elixir

defmodule Example.Repo.Migrations.MigrateResources2 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(:user) do
add :extra_stuff, :text
add :not_accepted_extra_stuff, :text
end
end
def down do
alter table(:user) do
remove :not_accepted_extra_stuff
remove :extra_stuff
end
end
end