aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/repo.ex
diff options
context:
space:
mode:
authorIvan Tashkinov <ivant.business@gmail.com>2019-03-27 15:41:40 +0300
committerIvan Tashkinov <ivant.business@gmail.com>2019-03-27 15:41:40 +0300
commit20e0f3660541f19cf878b789aa9f5b9d5ce8cddb (patch)
tree08cb90d62e431beb7ee6a2261dc679b725aec1f1 /lib/pleroma/repo.ex
parent2a95014b9d7142aa2549e70f428293af78fae8eb (diff)
parent15aa94f40f73444d67da7cb71ec219b97ec5142e (diff)
downloadpleroma-20e0f3660541f19cf878b789aa9f5b9d5ce8cddb.tar.gz
Merge remote-tracking branch 'remotes/origin/develop' into twitter_oauth
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