fix: inconsistent sorting

on components that were inserted in quick succession
This commit is contained in:
Schuwi
2025-09-19 22:43:25 +02:00
parent c4a0b41e7d
commit 086bc65ac1
4 changed files with 12 additions and 12 deletions

View File

@@ -22,7 +22,7 @@ defmodule ComponentsElixir.Inventory.StorageLocation do
has_many :children, StorageLocation, foreign_key: :parent_id
has_many :components, Component
timestamps()
timestamps(type: :naive_datetime_usec)
end
@doc false