ALTER TABLE ugc.assignment_object ALTER COLUMN type SET NOT NULL;
ALTER TABLE ugc.assignment_object DROP CONSTRAINT assignment_object_type_check;
ALTER TABLE ugc.assignment_object ADD CONSTRAINT assignment_object_type_check CHECK (type IN ('barrier', 'deadend', 'bad_conditions', 'no_entry'));
