aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/repo.ex
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-03-21 16:24:57 +0000
committerrinpatch <rinpatch@sdf.org>2019-03-21 16:24:57 +0000
commitb92a16aa006dd7ec26397b6fcd111c8f8f843a9c (patch)
tree843acb85e9df0bfd03c4596cef7d33993cd4d96e /lib/pleroma/repo.ex
parentb68fb3dc172a2cb13c07d7e42351947ecade1e3b (diff)
parente59cfa7cacd48d699e42b63eb9ec9503d72083a2 (diff)
downloadpleroma-b92a16aa006dd7ec26397b6fcd111c8f8f843a9c.tar.gz
Merge branch 'ecto-3-migration' into 'develop'
Ecto 3.0.7 (ecto_sql 3.0.5) migration See merge request pleroma/pleroma!957
Diffstat (limited to 'lib/pleroma/repo.ex')
-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 e6a51b19e..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
+ use Ecto.Repo,
+ otp_app: :pleroma,
+ adapter: Ecto.Adapters.Postgres,
+ migration_timestamps: [type: :naive_datetime_usec]
@doc """
Dynamically loads the repository url from the