aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-03-20 16:04:59 +0300
committerrinpatch <rinpatch@sdf.org>2019-03-20 16:04:59 +0300
commit19a19bdd8145bd91b38d9c6571d2e7c597754055 (patch)
treed26722568fe41b7ca2c912b981c400313f3ecdef
parent9a7b817c9a785171368a9b6d61122c7b4b33547c (diff)
downloadpleroma-19a19bdd8145bd91b38d9c6571d2e7c597754055.tar.gz
Fix migration timestamp type
-rw-r--r--lib/pleroma/repo.ex5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/pleroma/repo.ex b/lib/pleroma/repo.ex
index 224d784e3..4af1bde56 100644
--- a/lib/pleroma/repo.ex
+++ b/lib/pleroma/repo.ex
@@ -3,7 +3,10 @@
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Repo do
- use Ecto.Repo, otp_app: :pleroma, adapter: Ecto.Adapters.Postgres
+ use Ecto.Repo,
+ otp_app: :pleroma,
+ adapter: Ecto.Adapters.Postgres,
+ migration_timestamps: [type: :naive_datetime_usec]
@doc """
Dynamically loads the repository url from the