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

Lacking support for multi-column primary keys #133

Open
Mr-vedant-gupta opened this issue Jun 10, 2022 · 0 comments
Open

Lacking support for multi-column primary keys #133

Mr-vedant-gupta opened this issue Jun 10, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Mr-vedant-gupta
Copy link
Collaborator

Pelton currently doesn't support the creation of Primary keys involving multiple table columns. This can be necessary in some tables as some combination of columns might be required for the unique identification of entries

Here is an example of a table where this is necessary. Running this create table with the current version of Pelton errors:
CREATE TABLE questions (lec int, q int, question text, PRIMARY KEY (lec, q));

@KinanBab KinanBab self-assigned this Feb 28, 2023
@KinanBab KinanBab added the enhancement New feature or request label Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants