R
R
redkin2015-12-12 17:05:23
PHP
redkin, 2015-12-12 17:05:23

How do you deploy the database?

Describe how you deploy the database.
1. If the structure has not changed and only new data is rolled out.
2. If yes, the structure has changed. (UPD: In this case, migrations will be used first, I understand that, but how will the data itself arrive at the combat base?)
Or criticize my today's approach.
home project. Figachi in one face, in PHP.
I do it by hand now. I dump the QA database, upload this dump to the database that staging uses, if everything went well, in the nginx config I swap staging and prod, so that staging becomes production, and production becomes staging.
I want to automate this process.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sim3x, 2015-12-12
@sim3x

https://www.google.com/search?q=php+db+migrations

A
Alexander N++, 2015-12-12
@sanchezzzhak

Migrations if you use a framework

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question