This function enables you to align existing database to the model:
- Creates the database (if necessary).
- Calculated the differences between the database table structure and the structure corresponding to the object model.
- The script is generated, which causes the existing database to the model.
- Enquire the user about the use of the generated script.
In order to perform this function, should be in the plugin menu of generate database structure to select the “align database”.
создаст ее. This will be announced in the message window. Upon completion the user gets a window with the generated script, causes the database structure to the current model state. The user can apply this script may pre-modifying or abandon its use.
setting “don’t delete existing tables”
If the “don’t delete existing tables”, the system will not attempt to remove the “extra” from her point of view on the table. This setting is suitable when the application database contains data optional bundled subsystems.