Skip to content

fix: allow user to unset auto-detected primary key in client mode - #525

Merged
shuangwu5 merged 9 commits into
mainfrom
lift-pk-constraint
Jul 16, 2025
Merged

fix: allow user to unset auto-detected primary key in client mode#525
shuangwu5 merged 9 commits into
mainfrom
lift-pk-constraint

Conversation

@shuangwu5

@shuangwu5 shuangwu5 commented Jul 15, 2025

Copy link
Copy Markdown
Collaborator

In client mode, we have the feature of auto-detecting the primary key.
However, the user had no option to ignore the auto-detected value.
This PR allows user to unset the primary key by setting primary key of the generator config to the empty string (primary_key="").

@shuangwu5
shuangwu5 requested a review from a team July 15, 2025 16:58
@shuangwu5 shuangwu5 changed the title fix: allow user to unset primary key of a DB table fix: allow user to unset auto detected PK in client mode Jul 16, 2025
@shuangwu5 shuangwu5 changed the title fix: allow user to unset auto detected PK in client mode fix: allow user to unset auto-detected primary key in client mode Jul 16, 2025
@shuangwu5
shuangwu5 merged commit 6618a62 into main Jul 16, 2025
18 checks passed
@shuangwu5
shuangwu5 deleted the lift-pk-constraint branch July 16, 2025 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants