improve accuracy of timestamps
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-04-05 01:13:00 +00:00
parent e2c17b6b51
commit c7bd7238c6
29 changed files with 120 additions and 66 deletions

View File

@ -12,7 +12,7 @@ defmodule Cannery.Repo.Migrations.CreateAmmoGroups do
add :container_id, references(:containers, on_delete: :nothing, type: :binary_id)
add :user_id, references(:users, on_delete: :delete_all, type: :binary_id)
timestamps(type: :utc_datetime)
timestamps(type: :naive_datetime)
end
create index(:ammo_groups, [:ammo_type_id])