Flyway
roundhouse
Our great sponsors
Flyway | roundhouse | |
---|---|---|
79 | 5 | |
7,728 | 916 | |
1.1% | 0.1% | |
7.2 | 2.8 | |
15 days ago | 18 days ago | |
Java | C# | |
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.
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.
roundhouse
-
REST API using C# .NET 7 with MySql
Before we can start using Postgres we need to create a table to store our data. I will be using excellent roundhouse database deployment system to execute database migrations.
-
Best db migration tool options to use along with Entity Framework
https://github.com/chucknorris/roundhouse is interesting, but rougher around the edges.
-
Is it sensible to run EF migrations at startup?
At my work we use https://github.com/chucknorris/roundhouse
-
Relational databases aren’t dinosaurs, they’re sharks
For our projects at work we use sqlserver and use a tool called roundhouse for migrations. https://github.com/chucknorris/roundhouse
-
Source control/release management for databases
Have a look at roundhouse too, if you have SQL experienced people this should be easy to use. All the migrations are basically sql scripts that you can version control. https://github.com/chucknorris/roundhouse
What are some alternatives?
alembic - A database migrations tool for SQLAlchemy.
HikariCP - 光 HikariCP・A solid, high-performance, JDBC connection pool at last.
DbUp - 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.
H2 - H2 is an embeddable RDBMS written in Java.
dbmate - :rocket: A lightweight, framework-agnostic database migration tool.
Hibernate - Hibernate's core Object/Relational Mapping functionality
Apache Hive - Apache Hive
JDBI - The Jdbi library provides convenient, idiomatic access to relational databases in Java and other JVM technologies such as Kotlin, Clojure or Scala.
liquibase - Main Liquibase Source
MariaDB4j - MariaDB Embedded in Java JAR
FluentMigrator - Fluent migrations framework for .NET
OrientDB - OrientDB is the most versatile DBMS supporting Graph, Document, Reactive, Full-Text and Geospatial models in one Multi-Model product. OrientDB can run distributed (Multi-Master), supports SQL, ACID Transactions, Full-Text indexing and Reactive Queries.