summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-08-13 12:32:05 +0200
committerlain <lain@soykaf.club>2020-08-13 12:32:05 +0200
commitaaf7bd89a71b174ad54040eb9a6106df51ef7ad5 (patch)
tree16db63af2a3f36177b19d6e7751a48bb5efb08fa
parentb89fc1f2274424e7542a133d96373a1738eb53bb (diff)
Migrations: Fix Logger requirements.
-rw-r--r--priv/repo/migrations/20200811143147_ap_id_not_null.exs6
1 files changed, 5 insertions, 1 deletions
diff --git a/priv/repo/migrations/20200811143147_ap_id_not_null.exs b/priv/repo/migrations/20200811143147_ap_id_not_null.exs
index 50f1810b2..df649c7ca 100644
--- a/priv/repo/migrations/20200811143147_ap_id_not_null.exs
+++ b/priv/repo/migrations/20200811143147_ap_id_not_null.exs
@@ -1,8 +1,12 @@
defmodule Pleroma.Repo.Migrations.ApIdNotNull do
use Ecto.Migration
+ require Logger
+
def up do
- Logger.warn("If this migration fails please open an issue at https://git.pleroma.social/pleroma/pleroma/-/issues/new \n")
+ Logger.warn(
+ "If this migration fails please open an issue at https://git.pleroma.social/pleroma/pleroma/-/issues/new \n"
+ )
alter table(:users) do
modify(:ap_id, :string, null: false)