Commit 4311e9ee authored by Hakaba Hitoyo's avatar Hakaba Hitoyo

add NOT NULL to actor_type column

parent a9d1afca
......@@ -3,7 +3,7 @@ defmodule Pleroma.Repo.Migrations.AddActivitypubActorType do
def change do
alter table("users") do
add :actor_type, :string, default: "Person"
add :actor_type, :string, null: false, default: "Person"
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment