Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Hey, is there a modify_fields migration from oil ?
I see in core code but I have not success, else not I used migration file with \DBUtils class.
You mean a commandline option?
Looking in the code I don't think so? It's probably because the command can be extremely complex given what you can modify.
Or do you have a suggestion?
yeah from command line, I was just thinking to :
php oil generate migration modify_myfield_to_mytable fieldname:enum["toto","coco", "popo"]
for add "
popo" in enum.
So: fieldname:type[constraint] ?
right. Iam not sure its implemented actually ?
It isn't. But I can see if it is possible without too much effort,
Add a Comment
It looks like you're new here. If you want to get involved, click one of these buttons!
Apply for Membership
↳ Job Board
↳ Installation & Setup
↳ Tips and Tutorials
↳ Code share
In this Discussion