Fixed mysql create table method