mirror of
https://github.com/ash-project/ash_hq.git
synced 2024-09-20 21:33:10 +12:00
168c25a493
improvement: encrypted-at-rest name and address improvement: enable user sign up/authentication again improvement: some mobile appearance on home page stuff
25 lines
No EOL
533 B
Elixir
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 |