Fixed database build script
Removed comments from TicketMapper