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