1 defmodule Pleroma.Repo.Migrations.SetNotNullForConfig do
4 # modify/3 function will require index recreation, so using execute/1 instead
7 execute("ALTER TABLE config
8 ALTER COLUMN key SET NOT NULL,
9 ALTER COLUMN value SET NOT NULL")
13 execute("ALTER TABLE config
14 ALTER COLUMN key DROP NOT NULL,
15 ALTER COLUMN value DROP NOT NULL")