Change the database structure tool
The solution idea of the tool is to create several triggers in the original table to record the operations of uptate, delete and insert, so that the operations on the original table are recorded, which is convenient for updating to the newly created temporary table. Rename the original table
http://bazaar.launchpad.net/~mysqlatfacebook/mysqlatfacebook/tools/files/head:/osc