Drop ENUM Knex
#1495
Replies: 3 comments 1 reply
-
Hey @Hakamate! 👋 What have you tried so far? |
Beta Was this translation helpful? Give feedback.
1 reply
-
In v4, I've typically resorted to scheduling a raw query to drop the type from pg. I haven't had the opportunity to do the same in v5 yet, so I don't know if there are any differences. Here's an example from one of my projects.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes. Using a raw sql statement is the way to go |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
How can i drop Postgre Type (ENUM) with knex migration Down ?
Beta Was this translation helpful? Give feedback.
All reactions