Unfortunately, I don't have the source code for this. For many courses in the past, I just did experiments and didn't save the source code. In recent courses, I do provide links to GitHub.
Hey Povilas, I am not a big fun of doing data migration inside schema migrations. I think it is more safe to change relationship in steps and not inside one migration. What is your thought about that? Thank you in advance.
That really depends on your personal preference. Our team usually does them inside one migration and we did not encounter many issues with that approach yet
This is a great topic. I haven't come accross alot of lessons about dealing with real world senarios.
Hi, could you provide the link to source code before refactoring to "one article belongs to many categories" and after that? Thank you
Unfortunately, I don't have the source code for this. For many courses in the past, I just did experiments and didn't save the source code. In recent courses, I do provide links to GitHub.
Hey Povilas, I am not a big fun of doing data migration inside schema migrations. I think it is more safe to change relationship in steps and not inside one migration. What is your thought about that? Thank you in advance.
That really depends on your personal preference. Our team usually does them inside one migration and we did not encounter many issues with that approach yet