ash_hq/priv/repo/migrations/20221010202120_migrate_resources29.exs
Zach Daniel 168c25a493 improvement: tshirt mailer, mailing list
improvement: encrypted-at-rest name and address
improvement: enable user sign up/authentication again
improvement: some mobile appearance on home page stuff
2022-10-10 17:52:05 -04:00

25 lines
No EOL
533 B
Elixir

defmodule AshHq.Repo.Migrations.MigrateResources29 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(:users) do
add :encrypted_name, :binary
add :encrypted_address, :binary
add :shirt_size, :text
end
end
def down do
alter table(:users) do
remove :shirt_size
remove :encrypted_address
remove :encrypted_name
end
end
end