Fix migration timestamp type

This commit is contained in:
rinpatch 2019-03-20 16:04:59 +03:00
parent 9a7b817c9a
commit 19a19bdd81

View file

@ -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