W
W
Welaurs2017-03-20 22:10:02
MySQL
Welaurs, 2017-03-20 22:10:02

How to roll out migrations in production?

Good day. Please tell me how to perform production migrations without data loss?
Let's say I have a users migration, during development I added a couple of fields there, and the site is already up and running in full. How to perform painless migration (i.e. without data loss) in production?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JhaoDa, 2017-03-20
@Welaurs

It is necessary to create a new migration that adds this pair of fields, and not edit the existing one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question