Skip to content

Add db name in case there are multiple databases configured#19

Merged
imakecodes merged 1 commit into
makecodes:mainfrom
mhindery:main
Mar 30, 2026
Merged

Add db name in case there are multiple databases configured#19
imakecodes merged 1 commit into
makecodes:mainfrom
mhindery:main

Conversation

@mhindery

@mhindery mhindery commented Mar 23, 2026

Copy link
Copy Markdown
Contributor

Previously the table name was included in the description of a table. I've now added the database name, but only in case there are multiple databases configured (actually when there is a custom database router used, which generally is done when there are multiple databases to speak to). This helps us to locate the data which is described in the dbml.

I have also included the verbose name in the description now, in case it is set explicitly.

@mhindery

Copy link
Copy Markdown
Contributor Author

@imakecodes could you maybe have a look here?

@imakecodes

Copy link
Copy Markdown
Member

@imakecodes could you maybe have a look here?

sure, will take a look tomorrow morning. I didn't received the notification from Github, will also check this

@imakecodes imakecodes left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@imakecodes imakecodes merged commit f314c5f into makecodes:main Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants