Add a new value to a column of type Enum #44142
Unanswered
WaleedAlrashed
asked this question in
Q&A
Replies: 1 comment
-
There kind of is: "Creating" the column anew by calling This, however, requires knowing the list of cases until know before adding the new one and is everything but DRY. So, yeah: There's no clean solution via |
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.
-
Hi Everyone
Problem: I am looking for a
Blueprint
method to add a new variable to a column of typeenum
What I found:
After doing some research, I have found the following:
I can use
DB
statements like the this to alter the required column , But I don't suppose that there is aSchema
method.Is there any way to do this with Schema?
Beta Was this translation helpful? Give feedback.
All reactions