BEGIN; ALTER TABLE inflections ALTER COLUMN index DROP NOT NULL; ALTER TABLE inflections DROP CONSTRAINT index_is_not_negative; DROP INDEX inflections_part_id_index; COMMIT;