changed from postgres to mysql