All Projects → drwatson1 → dbup-cli

drwatson1 / dbup-cli

Licence: MIT License
Cross platform command line tool that helps you to deploy changes to SQL Server databases

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to dbup-cli

Evolve
Database migration tool for .NET and .NET Core projects. Inspired by Flyway.
Stars: ✭ 477 (+2550%)
Mutual labels:  migration, sqlserver
r2dbc-migrate
R2DBC database migration tool & library
Stars: ✭ 83 (+361.11%)
Mutual labels:  migration, sqlserver
upscheme
Database migrations and schema updates made easy
Stars: ✭ 737 (+3994.44%)
Mutual labels:  migration, sqlserver
OrdersManagementSystem
Project demonstrates usage of Prism composition library, Material design library, SQL Server, Entity Framework in WPF application
Stars: ✭ 29 (+61.11%)
Mutual labels:  sqlserver
web-haskell-graphql-postgres-boilerplate
Modern webserver in Haskell: Graphql + Postgresql + Authentication + DB migration + Dotenv and more
Stars: ✭ 114 (+533.33%)
Mutual labels:  migration
code2pg
Tool to help migrate application code from Oracle to PostgreSQL
Stars: ✭ 18 (+0%)
Mutual labels:  migration
CoreDataMigrationRevised-Example
An example project showing how to implement progressive Core Data migrations
Stars: ✭ 54 (+200%)
Mutual labels:  migration
ssms-addin
SQL Server Management Studio 2018 Productivity Tool
Stars: ✭ 15 (-16.67%)
Mutual labels:  sqlserver
illustrated-python-3-course
Course materials and handouts for Python 3, an illustrated tour course
Stars: ✭ 60 (+233.33%)
Mutual labels:  migration
nomad
simple sql migration tool to save you from going mad
Stars: ✭ 72 (+300%)
Mutual labels:  migration
SampleOAuth2 UsingPythonClient
Django Sample app using Python OAuth client
Stars: ✭ 23 (+27.78%)
Mutual labels:  migration
Addax
Addax is an open source universal ETL tool that supports most of those RDBMS and NoSQLs on the planet, helping you transfer data from any one place to another.
Stars: ✭ 615 (+3316.67%)
Mutual labels:  sqlserver
INTER-Mediator
The new style web application framework, you could develop a db-driven web application with declarative descriptions.
Stars: ✭ 27 (+50%)
Mutual labels:  sqlserver
mongration
MongoDB data migration tool for Spring Boot projects
Stars: ✭ 21 (+16.67%)
Mutual labels:  migration
php-crud-admin
A database admin interface for MySQL, PostgreSQL or SQL Server in a single file PHP script.
Stars: ✭ 24 (+33.33%)
Mutual labels:  sqlserver
hasura-metadata-patcher
CLI tool to patch Hasura metadata json file. Helps to organize complex CI/CD flows through different environments.
Stars: ✭ 14 (-22.22%)
Mutual labels:  migration
ormdb
ORM tool for .Net / .Net.Core
Stars: ✭ 14 (-22.22%)
Mutual labels:  sqlserver
roda
RODA - Repository of Authentic Digital Objects
Stars: ✭ 54 (+200%)
Mutual labels:  migration
cloud-services-to-service-fabric
Migrate a Cloud Services application to Service Fabric
Stars: ✭ 27 (+50%)
Mutual labels:  migration
zeppelin
Apache Zeppelin with support for SQL Server
Stars: ✭ 17 (-5.56%)
Mutual labels:  sqlserver

DbUp Command Line Interface

NuGet

This project is inspired and based on DbUp project. That is how its authors describe their project:

DbUp is a .NET library that helps you to deploy changes to SQL Server databases. It tracks which SQL scripts have been run already, and runs the change scripts that are needed to get your database up to date. from official documentation

It does exactly that and does it pretty well, except that it supports not only SQL Server, but some other databases too. That is a great project that helps you a lot when you want to deploy database changes to your server, and you are a developer. Because it is merely a library and this is your responsibility to create an executable to run it. Of course, you can use PowerShell, but it is for fans only. Though it is pretty simple, however in every new project you have to create a new executable to deploy changes, and after the fifth project, it becomes a little annoying.

However, what if you are not a developer, or you are a lazy developer (in a good sense) who doesn't want to do the same thing in every new project? You can use DbUp-CLI that is already do it.

The tool has almost all the features the DbUp has, but without a single line of code, so I do not list them here, just the features of the tool itself.

Features

  • Almost all of the DbUp features
  • Cross-platform (dotnet needed)
  • Easy to install - can be installed as a dotnet global tool
  • Minimum command line options
  • Uses a configuration file to store deploy options, so you can put it along with your SQL scripts under your favorite source control system
  • Uses YAML format for a configuration file to improve readability
  • Quick start:
    • Creates a configuration file with default options for you
    • Default configuration is suitable for the most cases, so you should set only a connection string to your database to run the first migration
    • The configuration file contains all options with default values and a brief explanation

Documentation

Supported Databases

  • MS SQL Server
  • AzureSQL
  • PostgreSQL
  • MySQL

Release Notes

Date Version Description
2022-02-06 1.6.4 Support of drop and ensure for Azure SQL
2022-02-02 1.6.3 Support of AzureSQL integrated sequrity
2022-01-30 1.6.2 PostgreSQL SCRAM authentication support interim fix
2022-01-29 1.6.1 BUGFIX: 'version' and '--version' should return exit code 0
2021-10-03 1.6.0 Add a 'journalTo' option to dbup.yml
2021-03-28 1.5.0 Add support of .Net Core 3.1 and .Net 5.0
2021-03-27 1.4.0 Add script naming options
Load .env.local after .env
2020-05-30 1.3.0 Support of MySQL, improve stability of integration tests
2020-03-20 1.2.0 Add a connectionTimeoutSec option
2019-08-27 1.1.2 Minor fixes
2019-04-11 1.1.0 PostgreSQL support
2019-03-25 1.0.1 Initial version (DbUp 4.2)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].