This topic explains how to link a database to Plastic SCM with preset config file and to other source control systems using editable template.
Note
Before you link a database to Plastic CSM, ensure you have a Plastic SCM client installed.
1. In Database Explorer, right-click the database you want to link to source control and select Source Control > Link Database to Source Control.
Alternatively, select Database > Link Database to Source Control on the ribbon.
2. On the Link page of the Link Database to Source Control dialog, click Create New Repository in the Source control repository field.
Note
The previously linked repository will be selected by default.
3. In the Source Control Repository Properties dialog, choose Command Line Interaction from the Source control system dropdown list and do the following:
4. Optional: Click Test to verify that the database can be successfully connected to source control.
5. Click OK to apply the changes and close the Source Control Repository Properties dialog.
6. Select a database development model: dedicated or shared.
7. Click Link to establish the connection between the database and source control.
The Refresh progress window opens automatically, showing the stages of the refresh operation. The linked database gets the following icon in Database Explorer:
1. Create an empty folder on the disk of your computer where the local repository will be stored.
2. Right-click the created folder and select TortoiseHg > Clone.
3. In the Clone dialog that opens, specify the source and click Clone.
Download dbForge Studio for SQL Server and try it absolutely free for 30 days!