tasks/db.rake in pact_broker-2.86.0 vs tasks/db.rake in pact_broker-2.87.0

- old
+ new

@@ -93,10 +93,13 @@ # Private: Ensure the dev/test database directory exists task "prepare_dir" => "db:env" do PactBroker::Database.ensure_database_dir_exists end - desc "Annotate the Sequel domain classes with schema information - start the postgres db with script/docker/db-start.sh first" + desc "Annotate the Sequel domain classes with schema information. + Start the postgres db with script/docker/db-start.sh first and run + INSTALL_PG=true bundle exec rake db:annotate + " task :annotate do begin raise "Need to set INSTALL_PG=true" unless ENV["INSTALL_PG"] == "true" ENV["RACK_ENV"] = "test" ENV["DATABASE_ADAPTER"] = "docker_postgres"