How to fix ERROR 1504: Number of partitions = 0 not allowed in MySQL | DevErrors