update recipe model sql to fix postgres problems