ticketman.clj rewrite, sql in sql file