Fix wrong create table query.