VIEW "{{unionViewName}}" (
  {{#each attributes}}"{{name}}"{{#addComma @last}}{{/addComma}}{{/each}}
   ) AS
		(
			(SELECT	{{#each attributes}}"{{name}}"{{#addComma @last}}{{/addComma}}{{/each}} FROM "{{sourceTable}}")
		  UNION ALL
      (SELECT {{#each attributes}}"{{name}}"{{#addComma @last}}{{/addComma}}{{/each}} FROM "{{targetTable}}")
		) WITH READ ONLY
