Flyway
atlas
Our great sponsors
Flyway | atlas | |
---|---|---|
79 | 67 | |
7,728 | 4,775 | |
1.1% | 7.1% | |
7.2 | 9.8 | |
15 days ago | 7 days ago | |
Java | Go | |
Apache License 2.0 | 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.
atlas
-
Pgroll: zero-downtime, undoable, schema migrations for Postgres
Check out: https://github.com/ariga/atlas
(I'm one of the authors of this project).
-
Show HN: Postgres Language Server
fwiw, I personally am interested in this approach too[0]. I keep running into roadblocks around the ordering of events and some of the hairy issues around "destructive" actions (eg: renaming columns). i think we can get there, especially once we make progress with this LSP.
There are other notable mentions in this space:
Reshape: https://fabianlindfors.se/blog/schema-migrations-in-postgres...
Atlas: https://atlasgo.io/
-
Database migration tool
Atlas: https://github.com/ariga/atlas. It can be integrated with any ORM, but also has an official one for GORM: https://atlasgo.io/guides/orms/gorm
-
Queryx: An Open-Source Go ORM with Automatic Schema Management
Run the queryx db:create command to create a PostgreSQL database, and then run queryx db:migrate to automatically create the database migration files and database structure. Queryx’s database schema management is built upon Atlas.
-
Tool for generating automatic migrations/schema diff
One of https://atlasgo.io's creators here.
-
Prisma like PGX Auto migration library
In this case, I'd recommend you to check Atlas: https://github.com/ariga/atlas
-
Quickly visualize your Django schemas with DjangoViz
My name is Rotem, I'm one of the creators of Atlas (https://atlasgo.io) a modern open-source schema management tool. Recently one of our engineers created a cool Django plugin that creates beautiful (in my eyes at least ;-)) and shareable ERDs from your Django data models.
-
Is there a similar tool or alternative in Go like strong_migrations?
Yes, there is: Atlas! https://atlasgo.io / https://github.com/ariga/atlas.
-
How do you handle migrations ?
You might want to check out Atlas. It provides automatic migration planning for GORM, and has various guides on how deploying schema migration on the popular platform and tools, such as Helm, Kubernetes and ECS.
-
Can we create tables in MySQL via Terraform ?
Atlas currently supports common open-source relational databases (MySQL/PostgreSQL/etc). If you're looking for support for other databases, you're welcome to open an issue in our repo ariga/atlas.
What are some alternatives?
alembic - A database migrations tool for SQLAlchemy.
HikariCP - 光 HikariCP・A solid, high-performance, JDBC connection pool at last.
datahub - The Metadata Platform for your Data Stack
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.
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