Skip to content

String primary key with default auto_incrementing breaks app. #609

Answered by billy1624
xodix asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, the id column does not auto increment on its own. So, it normal to specify #[sea_orm(auto_increment = false)] on the Model.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tyt2y3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #548 on March 15, 2022 01:58.