Updating schemas

The Update Schema Wizard allows you to update the consolidated and remote database schemas in your synchronization model.

The Update Schema Wizard is most useful after you have deployed your model and:

  • You made a change to the remote database schema that needs to be included in the model.

  • You made a change to the consolidated database schema that needs to be included in the model.

    For example, you need to run Update Schema before redeploying a model that created timestamp-based download for one or more tables. The previous deployment changed the schema of the consolidated database by adding a TIMESTAMP column or shadow table, so the schema needs to be updated.

 Update the schema of a synchronization model
  1. In the Folders view of Sybase Central, expand MobiLink 12, your MobiLink project name, Synchronization Models, and then select your synchronization model name.

  2. Click File » Update Schema.

  3. Choose one of the following options:

    • The Consolidated Database Schema   The consolidated schema in the model is updated. The remote schema in the model is unchanged.

    • The Remote Database Schema   The remote schema in the model is updated. The consolidated schema in the model is unchanged.

    • Both The Consolidated And Remote Database Schemas   Both the consolidated and remote schemas are updated in the model to match the schemas of the existing databases.

  4. Follow the instructions in the Update Schema Wizard.

    When you click Finish, no changes are made outside the model until you deploy the synchronization model; the consolidated database does not change and the remote database is not created or changed until that time.

  5. Map the new remote tables in the Mappings tab.

 See also