script/seed.rb in pact_broker-2.19.0 vs script/seed.rb in pact_broker-2.19.1

- old
+ new

@@ -7,9 +7,11 @@ $LOAD_PATH.unshift './tasks' ENV['RACK_ENV'] = 'development' require 'sequel' require 'logger' DATABASE_CREDENTIALS = {logger: Logger.new($stdout), adapter: "sqlite", database: ARGV[0], :encoding => 'utf8'} +#DATABASE_CREDENTIALS = {adapter: "postgres", database: "pact_broker", username: 'pact_broker', password: 'pact_broker', :encoding => 'utf8'} + connection = Sequel.connect(DATABASE_CREDENTIALS) connection.timezone = :utc require 'pact_broker/db' PactBroker::DB.connection = connection require 'pact_broker'