ash_postgres/priv/test_repo/migrations/20240503012410_migrate_resources21.exs
Zach Daniel 56f3a5eb2f fix: fix calculate when exprs aren't dynamics
test: add test for datetimes
2024-05-02 21:29:21 -04:00

21 lines
421 B
Elixir

defmodule AshPostgres.TestRepo.Migrations.MigrateResources21 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(:posts) do
add(:datetime, :utc_datetime_usec)
end
end
def down do
alter table(:posts) do
remove(:datetime)
end
end
end