CREATE OR REPLACE DEFINER=<%- definer %>
SQL SECURITY <%- securityType %>
VIEW <%- schema %>.<%- name %>
AS <%- definition %><%
if (checkOption != 'NONE') { %>
WITH <%- checkOption %> CHECK OPTION<%
} %>