ALTER TABLE "external_ids" ALTER COLUMN "type" DROP NOT NULL;