projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'fix/activity-expirations-again' into 'develop'
[akkoma]
/
priv
/
repo
/
migrations
/
20200811143147_ap_id_not_null.exs
diff --git
a/priv/repo/migrations/20200811143147_ap_id_not_null.exs
b/priv/repo/migrations/20200811143147_ap_id_not_null.exs
index 3e5d27fe1b7b9d32bb0d6cb5ae92f4e9bdefc63b..df649c7cabb7cf8cee0c8c93e335d64cc4dc5bd7 100644
(file)
--- a/
priv/repo/migrations/20200811143147_ap_id_not_null.exs
+++ b/
priv/repo/migrations/20200811143147_ap_id_not_null.exs
@@
-1,7
+1,13
@@
defmodule Pleroma.Repo.Migrations.ApIdNotNull do
use Ecto.Migration
defmodule Pleroma.Repo.Migrations.ApIdNotNull do
use Ecto.Migration
+ require Logger
+
def up do
def up do
+ 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)
end
alter table(:users) do
modify(:ap_id, :string, null: false)
end