Need advice about which tool to choose?Ask the StackShare community!
Flyway vs pgcli: What are the differences?
Flyway: Database Migrations Made Easy. Easy to setup, simple to master. Flyway lets you regain control of your database migrations with pleasure and plain sql. Solves only one problem and solves it well. Flyway migrates your database, so you don't have to worry about it anymore; pgcli: Postgres CLI with autocompletion and syntax highlighting. This is a postgres client that does auto-completion and syntax highlighting.
Flyway and pgcli belong to "Database Tools" category of the tech stack.
Some of the features offered by Flyway are:
- Supported databases: Oracle, SQL Server, SQL Azure, DB2, DB2 z/OS, MySQL, MariaDB, Google Cloud SQL, PostgreSQL, Redshift, Vertica, H2, Hsql, Derby, SQLite
- Supported build tools: Maven, Gradle, Ant and SBT
- Works on: Windows, Mac OSX, Linux, Java and Android
On the other hand, pgcli provides the following key features:
- Auto-completion as you type for SQL keywords as well as tables and columns in the database.
- Syntax highlighting using Pygments.
- Smart-completion (enabled by default) will suggest context-sensitive completion.
Flyway and pgcli are both open source tools. It seems that pgcli with 8.01K GitHub stars and 365 forks on GitHub has more adoption than Flyway with 4.2K GitHub stars and 915 GitHub forks.
Pros of Flyway
- Superb tool, easy to configure and use13
- Very easy to config, great support on plain sql scripts9
- Is fantastic and easy to install even with complex DB6
- Simple and intuitive4
- Easy tool to implement incremental migration1
Pros of pgcli
Sign up to add or upvote prosMake informed product decisions
Cons of Flyway
- "Undo Migrations" requires pro version, very expensive3