-
Notifications
You must be signed in to change notification settings - Fork 156
📝 Add MySQL documentation with tbls integration guide #594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
frontend/apps/docs/content/docs/parser/supported-formats/mysql.mdx
Outdated
Show resolved
Hide resolved
2. Use tbls to generate a schema.json file from your MySQL database: | ||
|
||
```bash | ||
tbls out -t json -o schema.json "mysql://dbuser:dbpass@hostname:3306/dbname" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works fine in my local environment👍
3. Use the generated schema.json with Liam: | ||
|
||
```bash | ||
npx @liam-hq/cli erd build --format=tbls --input schema.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works fine in my local environment👍
this is also fine.
Co-authored-by: Ryota Sasazawa <65695538+sasamuku@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM⭐
I wrote an example of mysql support using tbls.