dineug / erd-editor

Entity-Relationship Diagram Editor
https://erd-editor.io
MIT License
940 stars 99 forks source link

The primary key must require autoIncrement when generating sql #331

Closed QuanZi123 closed 10 months ago

QuanZi123 commented 1 year ago

When I use vuerd-vscode to discover a table's schema file, the table's primary key field must be set to autoIncrement:true, otherwise the sql will not be generated, but there should be no autoIncrement attribute for primary keys of type 'varchar'. vuerd-vscode cannot generate sql based on the following schema, and cat.id must be set to "autoIncrement": true to generate sql correctly

schema.zip

github-actions[bot] commented 10 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.