Database version control

Slides:



Advertisements
Similar presentations
Source Control in MATLAB A tool for tracking changes in software development projects. Stuart Nelis & Rachel Sheldon.
Advertisements

USING CI & CD WITH MICROSOFT SQL SERVER Tim Giorgi Senior Software Developer Northwest Evaluation
Agenda Model migration vs MDS upgrade Model migration overview Model migration – how does it work? Model package Demo.
DEV207. SSDT Database Services Database Services Analysis Services Reporting Services Integration Services.
René Balzano Technology Solution Professional Data Platform Microsoft Switzerland Database Development with SQL Server Data Tools (SSDT)
Improving Software Quality with Continuous Integration
Continuous Integration for Databases Learn how to automate your build and test Steve Jones Red Gate Software Part II of the Continuous Delivery for Databases.
Migrating to EPiServer CMS 5 Johan Björnfot -
CONTINUOUS INTEGRATION, DELIVERY & DEPLOYMENT ONE CLICK DELIVERY.
@benday #vslive Automated Build, Test & Deploy with TFS, ASP.NET, and SQL Server Benjamin
© ViSolve.com All rights reserved. Privacy Statement April Oracle Disaster Recovery Implementation A Non-Technical Overview.
Chris Wright Senior Systems Engineer, Lucity MOVING TO ONE DATABASE FOR SQL SERVER.
17-20 OCTOBER 2011 DURBAN ICC. What code-database gap? Introducing Project Codename “Juneau” William
Kako razvijate PL/SQL pakete? File based PL/SQL development Mitja Golouh SIOUG 2006,
Isolated Database Environments Kevin Howell February 2014.
Data Access Layer Shahed Chowdhuri Using Code-First Migrations.
Database Projects in Visual Studio Improving Reliability & Productivity.
BODY From Source Code Management to Daily Build Soren Klemmensen, Kamil Sacek & Luc van Vugt
Real World SQL Server Data Tools Benjamin
Continuous Integration for Databases Steve Jones SQLServerCentral Red Gate Software.
Continuous Deployments using SSDT
Developing SQL/Server database in Visual Studio Introducing SQL /Server Data Tools Peter Lu.Net Practices Director Principle Architect Nexient March 19.
Sql Server 2012 Data Tools & Development Enhancements Emrah USLU Teknoloji Danışmanı TCM | Teknoloji Çözümleri Merkezi.
Easy ETL with Andrzej Kukuła – Marcin Szeliga –
Case Study on Real Test Data Generation for Web Applications Andrey Langovoy Devart.
Avoiding the Pitfalls of Database Change Automation Cindy Bean Sr. Software Consultant DBmaestro SQLSaturday #514 – Houston, May 14, 2016.
A Practical Approach to Version Control for SQL Server Steve Jones SQLServerCentral Redgate Software.
Others Talk, We Listen. Managing Database Projects in Visual Studio 2013.
Introduction to SSDT Daniel Maxic Important note: in order to make this presentation I have used some of the content.
Continuous Integration for Databases Steve Jones SQLServerCentral Red Gate Software.
Automated Build and Test
DevOps with ASP.NET Core and Entity Framework Core
Visual Studio Database Tools (aka SQL Server Data Tools)
SQL Server deployments
Continuous Deployments using SSDT
Launch Your Database Into The Cloud (bacpac edition)
Database version control
Database Projects and Source Control (TFS)
Issues Tracking Functionality for RapidCollector
What is this talk about? How to actually use source control, how to get started with SSDT and how to start with continuous integration We will cover what.
SQL Server Data Tools Gert Drapers
Continuous Integration For Databases
Continuous integration and delivery of databases in web development
Visual Studio Database Tools (aka SQL Server Data Tools)
Continuous Deployments using SSDT
Continuous Deployments using SSDT
Continuous Deployments using SSDT
PowerShell for the DBA: Why I love my inner pig-dog
Delivering Business Value Faster
Database Projects and Source Control (TFS)
Paul S Waters Getting Git.
Presented by : Chirag Dani & Dhaval Shah
SSDT and Database Project Basics
What about the Data Dude?
Database version control
Entity Framework Code-First Migrations
Delivering Business Value Faster
SSDT, Docker, and (Azure) DevOps
TechEd /28/ :34 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Keeping your SQL Code safe
SSDT, Docker, and (Azure) DevOps
The Future of Database Development
Database Projects and Source Control (TFS)
Scott Sauber Slides up at scottsauber.com
The Future of Database Development
PNW SQL Users Group August 10th, 2011
Azure DevOps Simplified with Production Data
SSDT, Docker, and (Azure) DevOps
Bringing source control to BI world!
Samir Behara, Senior Developer, EBSCO
Presentation transcript:

Database version control Konstantin Proskurdin k.proskurdin@gmail.com

Sponsors

Models of work with database One database per project One database per developer One database per team

One database per project

One database per project Advantages Easy to sync changes Disadvantages Change of one developer could stop work of whole team

One database per developer

One database per developer Advantages Independent development Disadvantages Sync of databases is required

One database per team

One database per team Advantages Easy to sync changes inside team Disadvantages Sync of databases is required

Why database VSC Track changes history Possibility to restore database state for hotfixes/feature branches Some kind of backup Continuous Integration and Continuous Delivery

Database version control methods Merge tools Update scripts Migrators SQL Version Control SSDT

Merge tools Red Gate SQL Compare (http://www.red-gate.com/products/sql-development/sql-compare/) DevArt Schema Compare (http://www.devart.com/ru/dbforge/sql/schemacompare/) SQLaccessories SQL Examiner (http://sqlaccessories.com/sql_examiner/)

Merge tools Demo

Update scripts

Migrators Migrator.NET (https://github.com/migratordotnet/Migrator.NET) Ecm7migrator (https://code.google.com/p/ecm7migrator/) FluentMigrator (https://github.com/schambers/fluentmigrator) Entity Framework Migrations (https://entityframework.codeplex.com/) Flyway (http://flywaydb.org/)

Migrators Demo

SQL Version Control SQL Source Control (http://www.red-gate.com/products/sql-development/sql-source-control/) Source control for SQL Server (https://www.apexsql.com/sql_tools_source_control.aspx) dbForge Studio for SQL Server (https://www.devart.com/news/2015/dbforgestudiosqlserver50-beta.html)

SQL Version Control Demo

SSDT SQL Server Data Tools (http://blogs.msdn.com/b/data__knowledge__intelligence/archive/2013/03/29/sql-server-data-tools-ssdt.aspx)

SSDT Demo

Database version on CI

Database version on CI Merge tools - manual Update scripts – custom command file Migrators – migrate.exe SQL Version Control – TeamCity plugin SSDT – MSBuild target

That’s all