The line CONSTRAINT Findings_ak_id_typeid UNIQUE (findings_id, findings_type_id) NOT DEFERRABLE INITIALLY IMMEDIATE,
returns the error:
(44:77) Expected " ", “,”, “\n”, “\r\n”, “\t”, or comment but “N” found.
Removing NOT DEFERRABLE INITIALLY IMMEDIATE
makes the line pass syntax. These are valid options on a constraint and should be supported.