Redgate Flyway

Tutorial - Pull changes from Version Control

  1. Open the Version Control side panel.
  2. Click the down arrow to see what changes are in the remote repository that are not in your local repository yet.

  3. You can click on each file to view it's contents and see how it has changed.  Click Pull changes to get all changes from the currently configured remote branch to your local repository. 

    In this example, there is 1 file to be pulled, the dbo.Orders.sql file.  If we click on this, we can see it's a table and that one column has been added, the new OrderSatisfactionRating column.
  4. Do one of the following:
    1. Click Pull changes

      Once that has succeeded, you will see there are no changes left to pull.
    2. Click Pull changes & prune branches using the drop down menu.  Pruning branches will get rid of any local branches that do not exist on the remote.

Next steps

  • If using a schema model, apply changes to your development database and then, if you are using migrations, validate that your migrations  are deployable
  • If you are using migrations but not a schema model, migrate your development database

Didn't find what you were looking for?