heredoc for qs template for migration