Settings and activity
7 results found
-
8 votes
An error occurred while saving the comment
John Q Martin (@SQLServerMonkey)
supported this idea
·
-
35 votes
John Q Martin (@SQLServerMonkey)
shared this idea
·
-
74 votes
John Q Martin (@SQLServerMonkey)
supported this idea
·
-
15 votes
An error occurred while saving the comment
John Q Martin (@SQLServerMonkey)
commented
After reading in the documentation that I need to manually create the database and then alter the configuration file, I have to ask why this is not dealt with when the shared database is linked to source control. The ability to track who is making changes is a fundamental requirement in this model so the use of TempDB has to be seen as inappropriate.
I would suggest that also rather than having a single control database on the instance/server that perhaps it would be a better model to have a configuration database per-database that is linked to using the shared model. That way it is clear what it is for and that it is operating in shared mode.
Many thanks
JQ
John Q Martin (@SQLServerMonkey)
supported this idea
·
-
633 votes
Hi,
We just added this capability to Flyway, which is our x-database, x-OS cloud- and Git-first Database DevOps solution for versioning and deploying database changes. You can learn more about this feature in Flyway at https://documentation.red-gate.com/fd/working-with-data-138347109.html#Workingwithdata-Controllingstaticdata.
You can also import your SQL Source Control repos into Flyway while keeping your Git history. Learn more about moving to Flyway and importing your project at https://documentation.red-gate.com/fd/transitioning-from-other-redgate-tools-164167855.html.
If you have any questions, please comment below or reach out to us at DatabaseDevOps@red-gate.com.
Thank you!
Stephanie Herr
Product Manager - Database DevOps
John Q Martin (@SQLServerMonkey)
supported this idea
·
-
189 votes
While SQL Source Control provides a way to view object history, it does require additional tooling to update your database to a specific version from history.
We currently have documentation on how this works here: https://documentation.red-gate.com/soc/common-tasks/update-to-a-revision-from-source-control
-
479 votes
Thank you everyone for the suggestions and votes for this over the years.
I’d like to surface up a workaround for the “linking” problem which is mentioned in the comments. For the use case of easing pains around environment setup with a large number of databases, we have had customers find success using code based off Alessandro Alpi’s blog post: https://alessandroalpi.blog/2016/06/28/automatically-link-databases-to-red-gate-sql-source-control/
I do understand that this is a broader issue and hear that many of you also want command line or API support for the product in general.
If there are specific scenarios or workflows that would be useful to automate for you, this feedback is also very useful, and if you have details on the type of VCS you use and the workflow (such as a branching model) that it would fit in to, that would be very helpful for us to hear as well.
An error occurred while saving the comment
John Q Martin (@SQLServerMonkey)
commented
I have the same request, we have a large development team and are going to be migrating to use SQL Source Control. We will be using the Shared development model and it would be really useful to not get the developers to link each database on the various servers.
Rather if they can just open management studio and then the Source Control plugin picks up which databases are under source control and sets up the plugin as required.
Many thanks
John Q Martin (@SQLServerMonkey)
supported this idea
·
Personally not too bothered, just the ability to select the database would be great. Drop down would be in keeping with SSMS, Alternatively can you link it to the database drop down already in SSMS to handle the linking for the session window?