Skip to content

DBDiff/homebrew-dbdiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

homebrew-dbdiff

Homebrew tap for DBDiff — the database diff and migration tool for MySQL, Postgres, and SQLite.

Install

brew tap DBDiff/dbdiff
brew install dbdiff

Usage

# Diff two MySQL schemas
dbdiff user:pass@host:3306 db1:db2

# Diff two Postgres schemas (full DSN)
dbdiff --server1-url postgres://user:pass@host:5432/db1 \
       --server2-url postgres://user:pass@host:5432/db2

# Supabase shorthand
dbdiff --supabase --server1=user:pass@db.abc.supabase.co:5432 db1:db2

# Generate a migration file in a specific format
dbdiff --format=laravel user:pass@host:3306 db1:db2

Upgrade

brew upgrade dbdiff

Uninstall

brew uninstall dbdiff
brew untap DBDiff/dbdiff

More information

About

Homebrew Formula for DBDiff

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages