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