diff --git a/lib/pleroma/domain.ex b/lib/pleroma/domain.ex index aa78b35fe..d1c633a93 100644 --- a/lib/pleroma/domain.ex +++ b/lib/pleroma/domain.ex @@ -15,7 +15,7 @@ defmodule Pleroma.Domain do field(:resolves, :boolean, default: false) field(:last_checked_at, :naive_datetime) - timestamps() + timestamps(type: :utc_datetime) end def changeset(%__MODULE__{} = domain, params \\ %{}) do diff --git a/priv/repo/migrations/20230618190919_create_domains.exs b/priv/repo/migrations/20230618190919_create_domains.exs index 91bf423f8..78a0ade58 100644 --- a/priv/repo/migrations/20230618190919_create_domains.exs +++ b/priv/repo/migrations/20230618190919_create_domains.exs @@ -8,7 +8,7 @@ defmodule Pleroma.Repo.Migrations.CreateDomains do add(:resolves, :boolean) add(:last_checked_at, :naive_datetime) - timestamps() + timestamps(type: :utc_datetime) end create_if_not_exists(unique_index(:domains, [:domain]))