Skip to content

Alter type rename value of enum #1206

Discussion options

You must be logged in to vote

Hi,

Does the alter type need an explicit data migration for already existing data with status 'READY' to 'COMPLETED'? Or is it done automatically?

Assuming postgresql, alter type is a command of the db, it's not something provided by alembic, so this is not really a database question.
You would refer to their doc for it https://www.postgresql.org/docs/current/sql-altertype.html.

To answer the question, no other change is needed to the existing data

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by razvan286
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants