Change code to create table from Postgresql to Mysql