1 defmodule Pleroma.Repo.Migrations.SetNotNullForLists do
4 # modify/3 function will require index recreation, so using execute/1 instead
7 execute("ALTER TABLE lists
8 ALTER COLUMN user_id SET NOT NULL")
12 execute("ALTER TABLE lists
13 ALTER COLUMN user_id DROP NOT NULL")