Fixed mysql schema