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

设置主键自增字段这点是不是有问题 #7024

Open
carlos-yuan opened this issue May 16, 2024 · 6 comments
Open

设置主键自增字段这点是不是有问题 #7024

carlos-yuan opened this issue May 16, 2024 · 6 comments
Assignees
Labels

Comments

@carlos-yuan
Copy link

image

@github-actions github-actions bot added the type:missing reproduction steps missing reproduction steps label May 16, 2024
Copy link

The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout https://github.com/go-gorm/playground for details. it will be closed in 30 days if no further activity occurs. if you are asking question, please use the Question template, most likely your question already answered https://github.com/go-gorm/gorm/issues or described in the document https://gorm.ioSearch Before Asking

@ivila
Copy link

ivila commented May 17, 2024

I don't get it, what problem did you found, and what changes should it makes?

Copy link

The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout https://github.com/go-gorm/playground for details. it will be closed in 30 days if no further activity occurs. if you are asking question, please use the Question template, most likely your question already answered https://github.com/go-gorm/gorm/issues or described in the document https://gorm.ioSearch Before Asking

@carlos-yuan
Copy link
Author

I don't get it, what problem did you found, and what changes should it makes?

应该把 !ok 变为ok 你前面是判断是否字段为自增,这点取反就把不是自增的改为自增了

@carlos-yuan
Copy link
Author

I don't get it, what problem did you found, and what changes should it makes?

在mysql上不会出问题,达梦出问题了

Copy link

The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout https://github.com/go-gorm/playground for details. it will be closed in 30 days if no further activity occurs. if you are asking question, please use the Question template, most likely your question already answered https://github.com/go-gorm/gorm/issues or described in the document https://gorm.ioSearch Before Asking

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

No branches or pull requests

3 participants