mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-20 00:20:59 +00:00
Set domain timestamps type to utc_datetime
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
c3b989951a
commit
3075b8c923
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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]))
|
||||
|
|
Loading…
Reference in a new issue