ash_postgres/priv/test_repo/migrations/20240504185511_migrate_resources22.exs

24 lines
534 B
Elixir
Raw Normal View History

2024-05-05 22:08:21 +12:00
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