mirror of
https://github.com/team-alembic/ash_authentication.git
synced 2024-09-20 05:13:10 +12:00
23 lines
482 B
Elixir
23 lines
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
|