Skip to content

Commit

Permalink
fix: fix replication template (#973)
Browse files Browse the repository at this point in the history
  • Loading branch information
artemmufazalov authored Jul 2, 2024
1 parent 7d85393 commit 071b0a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/containers/Tenant/utils/queryTemplates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ export const createAsyncReplicationTemplate = () => {
return `CREATE OBJECT secret_name (TYPE SECRET) WITH value="secret_value";
CREATE ASYNC REPLICATION my_replication
FOR \`/remote_database/table_name\` AS "local_table_name" --[, \`/remote_database/another_table_name\` AS "another_local_table_name" ...]
FOR \`/remote_database/table_name\` AS \`local_table_name\` --[, \`/remote_database/another_table_name\` AS \`another_local_table_name\` ...]
WITH (
CONNECTION_STRING=\`grpcs://mydb.ydb.tech:2135/?database=/remote_database\`,
TOKEN_SECRET_NAME = "secret_name",
CONNECTION_STRING="grpcs://mydb.ydb.tech:2135/?database=/remote_database",
TOKEN_SECRET_NAME = "secret_name"
-- ENDPOINT="mydb.ydb.tech:2135",
-- DATABASE=\`/remote_database\`,
-- USER="user",
Expand Down

0 comments on commit 071b0a7

Please sign in to comment.