2021-10-22 14:11:03 +00:00
|
|
|
CREATE OR REPLACE DEFINER=<%- definer %>
|
|
|
|
SQL SECURITY <%- securityType %>
|
|
|
|
VIEW <%- schema %>.<%- name %>
|
2022-02-07 14:43:12 +00:00
|
|
|
AS <%- definition %><%
|
2022-12-29 13:27:16 +00:00
|
|
|
if (locals.checkOption != 'NONE') { %>
|
2022-02-07 14:43:12 +00:00
|
|
|
WITH <%- checkOption %> CHECK OPTION<%
|
|
|
|
} %>
|