fix platform column declaration SQL