ash_postgres/priv/test_repo/migrations/20240504185511_migrate_resources22.exs
2024-05-05 06:08:21 -04:00

23 lines
534 B
Elixir

defmodule AshPostgres.TestRepo.Migrations.MigrateResources22 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
modify(:updated_at, :"timestamptz(6)")
modify(:datetime, :"timestamptz(6)")
end
end
def down do
alter table(:posts) do
modify(:datetime, :utc_datetime_usec)
modify(:updated_at, :utc_datetime_usec)
end
end
end