P
P
Pal_Mihalych2012-02-07 13:12:49
CMS
Pal_Mihalych, 2012-02-07 13:12:49

What is the best way to organize database migrations on production in Drupal?

The developer is engaged in the creation of modules, while making changes to the database (for example, creating tables or adding records). After he has finished this process and everything has been tested, it is necessary to upload the changes to production. There are no problems with the code, but here's how to upload the changes he made to the database on production, while maintaining the data that is already there? Perhaps someone has encountered such a task in Drupal and can tell you how best to organize this process?

Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nikolai Vasilchuk, 2012-02-08
@Anonym

The module should create all its database changes in the .install file. You install the module on production, it adds everything you need to the database.

R
RuJet, 2012-02-07
@RuJet

There are modules for migration based on Features, but I think they are at the alpha stage.
For Drupal, this is a tough question. Six months ago I was looking for a solution, but did not find it.
Therefore, while we are developing the module, we do not enter any data.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question