Online Documentation for SQL Manager for PostgreSQL

Version Control Branches


Using database change management functionality in SQL Manager for PostgreSQL implies that a database is linked with VCS repository branch. Therefore with each repository branch a database copy is created.

When creating new database repository the name of this database is stored in the head/trunk branch of VCS repository. When you are using the existing repository, the working branch is defined automatically by the database name. If no branches of the repository contain information about the database, then you will be offered to associate existing repository branch with the database:

 

Database Registration Info - Change Management - Question

 

Press Yes to open the Version Control Branches dialog to select the needed branch:

 

Database Registration Info - Change Management - Select_branch

 

 

Branch selection needs to be confirmed in the appeared window.

Database name in the selected branch will be change with the current database name.

 

Database Registration Info - Change Management - Replace database of the branch