db migrate fix for admin