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

The primary key must require autoIncrement when generating sql #331

Closed
QuanZi123 opened this issue Aug 18, 2023 · 1 comment
Closed

The primary key must require autoIncrement when generating sql #331

QuanZi123 opened this issue Aug 18, 2023 · 1 comment

Comments

@QuanZi123
Copy link

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

Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant