failed design on a mysql database