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

Primary key improvements (UUID and existing PK column support) #4310

Open
zackkrida opened this issue Mar 6, 2025 · 0 comments
Open

Primary key improvements (UUID and existing PK column support) #4310

zackkrida opened this issue Mar 6, 2025 · 0 comments
Labels
ready Ready for implementation restricted: maintainers Only maintainers can resolve this issue type: enhancement work: backend Related to Python, Django, and simple SQL work: frontend Related to frontend code in the mathesar_ui directory
Milestone

Comments

@zackkrida
Copy link
Member

This project enhances Mathesar's import and table creation workflows by allowing users to set primary keys (PKs) as either auto-incrementing integers (identity) or random UUIDv4 values (uuid).

During import, Mathesar will default to adding a new PK column, giving users the option to select either an identity or uuid type. Alternatively, if an existing column meets Mathesar's uuid or identity requirements, users can designate it as the primary key instead.

Additionally, users will be able to set the value of any primary key column when inserting rows in the table view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready Ready for implementation restricted: maintainers Only maintainers can resolve this issue type: enhancement work: backend Related to Python, Django, and simple SQL work: frontend Related to frontend code in the mathesar_ui directory
Projects
None yet
Development

No branches or pull requests

1 participant