Ensure ap_id column in users table cannot be null
[akkoma] / priv / repo / migrations / 20200811143147_ap_id_not_null.exs
1 defmodule Pleroma.Repo.Migrations.ApIdNotNull do
2 use Ecto.Migration
3
4 def up do
5 alter table(:users) do
6 modify(:ap_id, :string, null: false)
7 end
8 end
9
10 def down do
11 :ok
12 end
13 end