Updated db to use mysql syntax updates