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

Handle CHAR data type in the backend. #407

Closed
Tracked by #244
kgodey opened this issue Jul 16, 2021 · 0 comments · Fixed by #686
Closed
Tracked by #244

Handle CHAR data type in the backend. #407

kgodey opened this issue Jul 16, 2021 · 0 comments · Fixed by #686
Assignees
Labels
ready Ready for implementation type: enhancement New feature or request work: backend Related to Python, Django, and simple SQL

Comments

@kgodey
Copy link
Contributor

kgodey commented Jul 16, 2021

This issue is to ensure that Mathesar can handle the Postgres CHAR data type.

As part of this issue, we need to ensure that:

  • Users can use the API to change a column to CHAR if it's possible to do so.
  • Users can set and change the n (length) of a given CHAR column via a type_options field in the API.
    Additional Context
  • See PR Extend the v0/databases/'s types list to show both Mathesar and DB type information. #368 for code that calculates which types are allowed for a column.
  • No changes are needed for type inference; I don't think we should be suggesting a restrictive type like CHAR.
@kgodey kgodey added ready Ready for implementation type: enhancement New feature or request work: backend Related to Python, Django, and simple SQL work: database labels Jul 16, 2021
@kgodey kgodey added this to the 07. Initial Data Types milestone Jul 16, 2021
@kgodey kgodey assigned mathemancer and unassigned rootxnet Sep 6, 2021
@mathemancer mathemancer mentioned this issue Sep 29, 2021
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready Ready for implementation type: enhancement New feature or request work: backend Related to Python, Django, and simple SQL
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

3 participants