Skip to content

Commit

Permalink
fix: create view template text (#1772)
Browse files Browse the repository at this point in the history
  • Loading branch information
Raubzeug authored Dec 20, 2024
1 parent 640dd97 commit 4773ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/Tenant/utils/schemaQueryTemplates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export const dropTopicTemplate = (params?: SchemaQueryParams) => {
};

export const createViewTemplate = (params?: SchemaQueryParams) => {
const path = params?.relativePath ? `\`${params?.relativePath}\`/my_view` : '${1:my_view}';
const path = params?.relativePath ? `\`${params?.relativePath}/my_view\`` : '${1:my_view}';
return `CREATE VIEW ${path} WITH (security_invoker = TRUE) AS SELECT 1;`;
};

Expand Down

0 comments on commit 4773ce8

Please sign in to comment.