Closed codemistake closed 2 years ago
try add to properties, will it work?
database=dbname
@profixy I tried to do it, but this has no effect
@profixy You can prefix the name of the table by the name of the database. Like
CREATE TABLE dbname.ping (...
No I cant. Imagine pipeline contains dev, qa, beta, prod databases with same tables. Do we need to edit sql changesets (change prefixes) every time before execute it with liquibase?
Apparently, this problem is caused by clickhouse-jdbc driver v0.3.1: https://github.com/ClickHouse/clickhouse-jdbc/issues/648 But the fixed version 0.3.1-patch introduces another problem with transactions. May be, you can try v0.3.0 as a workaround.
Update: normally, the new 0.3.2 fixes all problems. To be checked.
I ran into a problem, there is a database called "dbname" and there is a sql changelog
properties.file
Migration result:
Whatever I write the name of the database, requests still go to "default". I tried to make another user, with 1 of my database, who does not know about the existence of the "default" database, I still get the system tables in its database, and an error when creating a query to a non-existent database