tasks/db.rake in pact_broker-2.76.2 vs tasks/db.rake in pact_broker-2.77.0
- old
+ new
@@ -96,9 +96,10 @@
end
desc 'Annotate the Sequel domain classes with schema information'
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'
load 'tasks/docker_database.rb'
DockerDatabase.stop_and_remove("postgres-for-annotate")
DockerDatabase.start(name: "postgres-for-annotate", port: "5433")