mirror of
https://github.com/ash-project/ash_hq.git
synced 2024-09-21 05:43:12 +12:00
25 lines
540 B
Elixir
25 lines
540 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
|