different way of handling mysql schema