This Homebrew tap provides formulas for Sqitch, a database schema development and change management system. If you'd like to try Sqitch and use Homebrew, this will be the simplest way to get it installed so you can get to work.
First, use this command to set up the Sqitch Homebrew tap:
brew tap theory/sqitch
Now you can install the core Sqitch application:
brew install sqitch
It won't do you much good without support for your database, though.
Currently, there are builds for PostgreSQL (requires the Homebrew core
PostgreSQL server), SQLite (requires the Homebrew SQLite build), MySQL
(requires the Homebrew MySQL build), Firebird (requires the
Firebird database), Oracle (requires
Oracle Instant Client
(installation instructions),
and Vertica (requires vsql
).
brew install sqitch_pg
brew install sqitch_sqlite
brew install sqitch_mysql
brew install sqitch_firebird
brew install sqitch_vertica
ORACLE_HOME=/oracle/instantclient_11_2 brew install sqitch_oracle
If you already have a MySQL or PostgreSQL server installed from outside of Homebrew, you can prevent them from being installed by Homebrew, but still get the necessary libraries to connect to them, like so:
brew install sqitch_pg --without-postgresql
brew install sqitch_mysql --without-mysql
Interested in hacking on Sqitch? Of course you should fork it, and then install the dependencies for maintaining Sqitch:
brew install sqitch_maint_depends
Just want the latest from Git without forking? Use the --HEAD
option to
install Sqitch (and the maintenance dependencies):
brew install sqitch --HEAD
The Sqitch Homebrew Tap formulas are distributed as public domain software. Anyone is free to copy, modify, publish, use, compile, sell, or distribute the original Sqitch Homebrew Tap formulas, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
Many thanks to @mistydemeo for the guidance, suggestions, and feedback. It would have taken a lot longer to create this tap without her help.