Sha256: 4b23a33a023986168dc2c688b4b7965cd9e40734bb7cdd710370525af5e5c655
Contents?: true
Size: 776 Bytes
Versions: 45
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
45 entries across 45 versions & 1 rubygems