前言
-
The project record document
changes to some information on the project, such as:
Version 1.1
Added field table name and meaning of field name.
Then when the project is released, when the table structure is synchronized, if there is anything and it is not clear, you can learn from here .
Example:
-
Database structure synchronization
First of all, build a database and build a table
Next, we need to synchronize t_user_info in 1 to 2
Among the above database options, you can only choose a database connection that exists locally.
Okay, click on data synchronization below
Next click on the structure synchronization
Then compare
After the results come out, first select the difference, and then click Run
Click ok
Close these pop-up boxes, and then go to sync2, you can see the structure of the synchronization past
-
Database basic data synchronization
The following demonstrates the synchronization of database basic data. For
example, we want to synchronize the data in t_user_info to the t_user_info
operation under sync2. The operation is the same as above, click Tools-Data Synchronization to
select the database
Because we are data synchronization, not structure synchronization, so just click to start, you can see that 1 is inserted
Then we close the pop-up box and go to sync2 to look up the new table
You can see that the data has been successfully synchronized. At this point, the demo is complete!