Fix auto-increment id for postgres init data#632
Merged
Conversation
Contributor
Author
|
pg 我之前有测过,mysql 的麻烦确认下 |
Member
|
或许这只是 pg 的问题,我在 mysql 中从未遇到过 |
Contributor
Author
|
已经删除mysql init sql的变更 |
Member
|
Looks good. |
wu-clan
requested changes
May 27, 2025
Member
|
Otherwise LGTM. |
Contributor
Author
|
https://github.com/fastapi-practices/casbin_rbac 项目没有初始化 sql 的地方吗?本来打算一块改下 |
Member
确实没加 sql 😂,默认启动自动创建表了 |
chuxijin
pushed a commit
to chuxijin/fba
that referenced
this pull request
Feb 8, 2026
* fix: Reset auto-increment values for all tables based on max id * refactor: Remove auto-increment reset for mysql * remove unused code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#627
可以解决上述问题