projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b89fc1f
)
Migrations: Fix Logger requirements.
author
lain
<lain@soykaf.club>
Thu, 13 Aug 2020 10:32:05 +0000
(12:32 +0200)
committer
lain
<lain@soykaf.club>
Thu, 13 Aug 2020 10:32:05 +0000
(12:32 +0200)
priv/repo/migrations/20200811143147_ap_id_not_null.exs
patch
|
blob
|
history
diff --git
a/priv/repo/migrations/20200811143147_ap_id_not_null.exs
b/priv/repo/migrations/20200811143147_ap_id_not_null.exs
index 50f1810b24db8c7842714e52f19d2c5717ace285..df649c7cabb7cf8cee0c8c93e335d64cc4dc5bd7 100644
(file)
--- 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)