ash_postgres/priv/test_repo/migrations/20210603213926_migrate_resources13.exs
Zach Daniel dae39f5fda feat: support expression based calculations
feat: support concat + if expressions
improvement: various other improvements
2021-06-04 01:48:35 -04:00

22 lines
No EOL
497 B
Elixir

defmodule AshPostgres.TestRepo.Migrations.MigrateResources13 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(:comments) do
add :author_id,
references(:authors, column: :id, name: "comments_author_id_fkey", type: :uuid)
end
end
def down do
alter table(:comments) do
remove :author_id
end
end
end