Before merging your feature branch into develop or a hotfix branch do the following: From your feature branch copy the migration Up\Down code you were testing with to a text editor temporarily.Check out the destination branch (develop, hotfix, etc.) in SmartGit.Obtain the migration token. From PackageManager console run Add-Migration <your migration name> against the destination branch you checked out in SmartGit. Make sure to select the Rock.Migrations project before running the command. Paste in the code from the text editor into the new migration .cs file and adjust the method name if applicable.DON'T COMMIT AND PUSH YETRun Update-Database from PackageManager console in your destination branch and test your migration thoroughly (also extend the migration token if required). IF ALL IS WELL commit and push your code.