projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
df649c7cabb7cf8cee0c8c93e335d64cc4dc5bd7
[akkoma]
/
repo
/
migrations
/
20200811143147_ap_id_not_null.exs
1
defmodule Pleroma.Repo.Migrations.ApIdNotNull do
2
use Ecto.Migration
3
4
require Logger
5
6
def up do
7
Logger.warn(
8
"If this migration fails please open an issue at https://git.pleroma.social/pleroma/pleroma/-/issues/new \n"
9
)
10
11
alter table(:users) do
12
modify(:ap_id, :string, null: false)
13
end
14
end
15
16
def down do
17
:ok
18
end
19
end