Skip to content

Commit d098959

Browse files
authored
Fix: Make dbt postgresql targeting read database name from profile correctly
1 parent 500ccec commit d098959

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sqlmesh/dbt/target.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def to_sqlmesh(self) -> ConnectionConfig:
286286
user=self.user,
287287
password=self.password,
288288
port=self.port,
289-
database=self.schema_,
289+
database=self.dbname,
290290
keepalives_idle=self.keepalives_idle,
291291
concurrent_tasks=self.threads,
292292
connect_timeout=self.connect_timeout,

0 commit comments

Comments
 (0)