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

CRUD API for table constraints #326

Closed
kgodey opened this issue Jul 6, 2021 · 0 comments · Fixed by #488
Closed

CRUD API for table constraints #326

kgodey opened this issue Jul 6, 2021 · 0 comments · Fixed by #488
Assignees
Labels
ready Ready for implementation work: backend Related to Python, Django, and simple SQL

Comments

@kgodey
Copy link
Contributor

kgodey commented Jul 6, 2021

Problem

The user might want to create a constraint on a table, and we should allow them to do so.

Proposed solution

Create a api/v0/tables/<id/constraints/ endpoint that allows users to create, read, update, or delete table constraints. For now, we should only support UNIQUE constraints, but please keep in mind that we may want to extend the API to other constraints in the future.

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready Ready for implementation work: backend Related to Python, Django, and simple SQL
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants