[#1974]Change column name "type" to avoid reserved name