DbUp
Flyway
Our great sponsors
DbUp | Flyway | |
---|---|---|
10 | 79 | |
2,074 | 7,728 | |
1.2% | 1.1% | |
8.5 | 7.2 | |
11 days ago | 15 days ago | |
C# | Java | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
DbUp
-
How to Handle MSSQL Database in CI/CD?
Another common library that can apply the SQL scripts is DbUp which will apply scripts in a given folder or assembly. https://github.com/DbUp/DbUp
- How do you do CI/CD with ef core
-
Best db migration tool options to use along with Entity Framework
I've used a simple migration tool called DbUp https://github.com/DbUp/DbUp
- Is it sensible to run EF migrations at startup?
Flyway
-
PostgreSQL Is Enough
There is a bit of tooling needed but is already around. For Java for example I had very good experience with a combination of flyway [1] for migrations, testcontainers [2] for making integration tests as easy as unit tests and querydsl [3] for a query and mapping layer.
[1] https://github.com/flyway/flyway
[2] https://java.testcontainers.org/modules/databases/postgres/
-
CI/CD for Databricks
If you're looking for tools, like https://www.liquibase.com/ or https://flywaydb.org/, which are database-state-based schema migration toolkits - it might be relatively straightforward to build similar ones using Databricks SQL drivers.
-
Working with jOOQ and Flyway using Testcontainers
Honestly I kind of wish there was a Lukas Eder database migration library. Call it whatever jooq-migration. At least I would have more insight of what is going on (<-- seriously look at the commit history).
-
Strategy to run database scripts on Kubernetes
This is a 4th option, which should play nice with ArgoCD. The following example runs flyway as a k8s job. The desired migration changes are recorded as files within the chart. This helm chart can be integrated with your application (Using hooks to determine when the migration job is run) or run manually.
-
How do your teams run DB migrations?
By using an opinionated framework within the app/service (like Flyway, Migrate, Diesel, etc). Schema migrations happen on app/service start-up.
-
Version control for database used by C# app
Flyway
-
Using Flyway for Database Setup
The grown-up way of creating a database schema is migrations, and no-one ever got fired for choosing Flyway (https://flywaydb.org/), so that's what we'll investigate today. By the end we are able to create the same schema as Exposed was creating, and then, as a second migration, add some constraints to the items table to reflect the reality of our data. And the transition from Exposed to jOOQ is complete!
-
How to run DB migrations in CICD Pipeline
We use https://flywaydb.org/. You can do the migration before or during service start-up. We do it during.
-
🏅 Http4k: Top 5 Server-Side Frameworks for Kotlin in 2022
We just create the greetings table if it does not exist (instead of any database migration library like flyway)
-
How to people organize their Repos?
Also, from the "DevOps" point of view, this totally depends on what you want to achieve. If is a project that has changes on the database (new views, new tables...) on a regular basis I would consider using https://flywaydb.org/ in the pipeline.
What are some alternatives?
alembic - A database migrations tool for SQLAlchemy.
FluentMigrator - Fluent migrations framework for .NET
HikariCP - 光 HikariCP・A solid, high-performance, JDBC connection pool at last.
yuniql - Free and open source schema versioning and database migration made natively with .NET/6. NEW THIS MAY 2022! v1.3.15 released!
roundhouse - RoundhousE is a Database Migration Utility for .NET using sql files and versioning based on source control
H2 - H2 is an embeddable RDBMS written in Java.
dbmate - :rocket: A lightweight, framework-agnostic database migration tool.
Entity Framework - EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
Hibernate - Hibernate's core Object/Relational Mapping functionality
Evolve - Database migration tool for .NET and .NET Core projects. Inspired by Flyway.
Apache Hive - Apache Hive