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

Support "drop value from a type" operation #12

Open
antedeguemon opened this issue Mar 19, 2021 · 0 comments
Open

Support "drop value from a type" operation #12

antedeguemon opened this issue Mar 19, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@antedeguemon
Copy link
Contributor

Description

It would be good if ecto_enum_migration supported the drop value from type - the inverse operation of add value to type.

Postgres does not support this operation, so ecto_enum_migration would have to do it by dropping the type and re-creating it.

I don't know if this is possible because of dependent columns, but would be a nice feature, especially for migration rollbacks of add_value_to_type.

@antedeguemon antedeguemon added the enhancement New feature or request label Mar 19, 2021
@antedeguemon antedeguemon changed the title Drop value from a type Support "drop value from a type" operation Mar 19, 2021
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

1 participant