created MySQL model