How to synchronize development and production databases
P粉520204081
P粉520204081 2023-10-22 23:37:30
0
1
672

Do you know of any application that synchronizes two databases - sometimes during development it is necessary to add a table row or two or a new table or column. Typically I write each sql statement to some file and execute the lines on my production database during the upload path (backing it up before). I use mySQL and postreSQL databases.

What is your practice and what apps can help you.

P粉520204081
P粉520204081

reply all(1)
P粉245003607

You asked for tool or application answers, but what you really want are process answers. The basic theme here is that you should version your database DDL (and DML, if needed) and provide change scripts to be able to update any version of the database to a higher version.

This set of links provided by Jeff Atwood, written by K. Scott Allen, explains in detail what it should look like - they do a better job than I can write here: http://www.codinghorror. com/blog/2008/02/get- your-database-under-version-control.html

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!