Skip to content

Commit

Permalink
Added sqlite as an option for PACT_BROKER_DATABASE_ADAPTER
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Jul 25, 2017
1 parent 756310a commit ae9c738
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This repository deploys [Pact Broker](https://github.com/pact-foundation/pact_br
* PACT_BROKER_DATABASE_NAME
* PACT_BROKER_DATABASE_ADAPTER (optional, defaults to 'postgres')

Adapter can be 'mysql2' or 'postgres'
Adapter can be 'postgres' (recommended), 'mysql2' (please note that future JSON search features may not be supported by mysql) or 'sqlite' (only recommended for investigation/spikes).

3. Test the pact broker environment by executing [script/test.sh](script/test.sh)

Expand Down
1 change: 1 addition & 0 deletions pact_broker/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ gem "pact_broker", "~>2.0"
gem "pg"
gem "passenger"
gem "mysql2", "~>0.3"
gem "sqlite3", "~>1.3"
2 changes: 2 additions & 0 deletions pact_broker/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ GEM
rack (~> 2.0)
rack-protection (= 2.0.0)
tilt (~> 2.0)
sqlite3 (1.3.13)
sucker_punch (2.0.2)
concurrent-ruby (~> 1.0.0)
term-ansicolor (1.6.0)
Expand All @@ -173,6 +174,7 @@ DEPENDENCIES
pact_broker (~> 2.0)
passenger
pg
sqlite3

BUNDLED WITH
1.14.6

0 comments on commit ae9c738

Please sign in to comment.