myt/templates/view.ejs

6 lines
204 B
Plaintext
Executable File

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