Class: PactBroker::DB::MigrateData

Inherits:
Object
  • Object
show all
Defined in:
lib/pact_broker/db/migrate_data.rb

Class Method Summary collapse

Class Method Details

.call(database_connection, _options = {}) ⇒ Object



16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# File 'lib/pact_broker/db/migrate_data.rb', line 16

def self.call database_connection, _options = {}
  DataMigrations::SetPacticipantIdsForVerifications.call(database_connection)
  DataMigrations::SetConsumerIdsForPactPublications.call(database_connection)
  DataMigrations::SetLatestVersionSequenceValue.call(database_connection)
  DataMigrations::SetWebhooksEnabled.call(database_connection)
  DataMigrations::DeleteDeprecatedWebhookExecutions.call(database_connection)
  DataMigrations::SetCreatedAtForLatestPactPublications.call(database_connection)
  DataMigrations::SetCreatedAtForLatestVerifications.call(database_connection)
  DataMigrations::SetExtraColumnsForTags.call(database_connection)
  DataMigrations::SetPacticipantDisplayName.call(database_connection)
  DataMigrations::SetWebhookUuid.call(database_connection)
  DataMigrations::SetConsumerVersionOrderForPactPublications.call(database_connection)
  DataMigrations::SetExtraColumnsForTags.call(database_connection)
  DataMigrations::CreateBranches.call(database_connection)
  DataMigrations::MigrateIntegrations.call(database_connection)
  DataMigrations::MigratePactVersionProviderTagSuccessfulVerifications.call(database_connection)
  DataMigrations::SetContractDataUpdatedAtForIntegrations.call(database_connection)
end