1 year ago

Dealing with changes in the domain model

Posted 1 year ago by kickthemooon

I just realized that I made a "mistake" in my domain model.

The mistake I made was, let's say, I had an Article model and a "relationship property" $file which was a File model so my Article was directly connected to a File but then I realized that I actually needed a model in between, FeaturedImage to hold other properties like $title, $description and whatever else.

My question would be how do you deal with changes in your domain model with regards to migrating those changes in production?

Please sign in or create an account to participate in this conversation.