Skip to content
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

Nothing Generated #59

Open
thracian2015 opened this issue Sep 5, 2024 · 1 comment
Open

Nothing Generated #59

thracian2015 opened this issue Sep 5, 2024 · 1 comment
Labels
question Further information is requested

Comments

@thracian2015
Copy link

Describe the bug
To SQL doesn't generate SQL code

To Reproduce
Steps to reproduce the behavior:

  1. I added the three *.js files to draw.io.
  2. I open an existing ERD diagram.
  3. I go to File->Export->To SQL
  4. I click "SQL Server".
  5. The only code generated in the "To SQL" window is a comment:
    /*
    Generated in drawio
    Database: sqlserver
    Plugin: sql
    Version: 0.0.6
    */

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
bug

@lastlink
Copy link
Collaborator

lastlink commented Dec 24, 2024

@thracian2015. This will only export sql from UML diagrams. You can use the "from sql" to generate an example of the format to use.
My guess is that you don't have any UML tables to export to sql that's why it's blank or they are a different format. There is a specific format that is supported by this plugin.

You can play around with the example from the drawio file zip in jgraph/drawio#3092.

@lastlink lastlink added the question Further information is requested label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants