Sha256: 1c73c6bda284ac56c905cd708b8abf06987ede9a8c154b547cbe530c36f120ea
Contents?: true
Size: 776 Bytes
Versions: 12
Compression:
Stored size: 776 Bytes
Contents
require "pact_broker/tasks" PactBroker::DB::MigrationTask.new do | task | ENV["RACK_ENV"] ||= "test" require "db" task.database_connection = DB::PACT_BROKER_DB end PactBroker::DB::DataMigrationTask.new do | task | ENV["RACK_ENV"] ||= "test" require "db" task.database_connection = DB::PACT_BROKER_DB end PactBroker::DB::VersionTask.new do | task | ENV["RACK_ENV"] ||= "test" require "db" task.database_connection = DB::PACT_BROKER_DB end PactBroker::DB::CleanTask.new do | task | ENV["RACK_ENV"] ||= "test" require "db" task.database_connection = DB::PACT_BROKER_DB end PactBroker::DB::DeleteOverwrittenDataTask.new do | task | ENV["RACK_ENV"] ||= "test" require "db" task.database_connection = DB::PACT_BROKER_DB task.age_in_days = 7 end
Version data entries
12 entries across 12 versions & 1 rubygems