diff options
author | rinpatch <rinpatch@sdf.org> | 2019-03-20 16:04:59 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-03-20 16:04:59 +0300 |
commit | 19a19bdd8145bd91b38d9c6571d2e7c597754055 (patch) | |
tree | d26722568fe41b7ca2c912b981c400313f3ecdef /lib | |
parent | 9a7b817c9a785171368a9b6d61122c7b4b33547c (diff) | |
download | pleroma-19a19bdd8145bd91b38d9c6571d2e7c597754055.tar.gz |
Fix migration timestamp type
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/repo.ex | 5 |
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 |