fix schema for mysql