ALTER TABLE eye.frame ADD COLUMN width integer DEFAULT 0;
ALTER TABLE eye.frame ADD COLUMN height integer DEFAULT 0;

CREATE INDEX eye_frame_no_width_index ON eye.frame USING btree(width) WHERE width = 0;