Skip to content

Migration Question on adding On Delete Cascade #3340

Answered by can-fraction
can-fraction asked this question in Q&A
Discussion options

You must be logged in to vote

Oh okay, I got lost in the web documentation but after reading the documentation in the code and reading the code, I realized it does the switch! So I guess my migration actually works. Just quick question can I migrate any table like this since essentially it switches to a new one? Like even if I add a column would the only difference be this function being slower than m.addColumn ?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@simolus3
Comment options

Answer selected by simolus3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants