From: rinpatch Date: Wed, 20 Mar 2019 13:04:59 +0000 (+0300) Subject: Fix migration timestamp type X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=19a19bdd8145bd91b38d9c6571d2e7c597754055;p=akkoma Fix migration timestamp type --- 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