Skip to content

Commit

Permalink
Add migration from 10.5.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronweeden committed Feb 20, 2025
1 parent 8fde56b commit 10935aa
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php
/**
* Update config files from version 10.5.0 to 11.0.0
* Update config files from version 10.5.1 to 11.0.0
*/

namespace OpenXdmod\Migration\Version1050To1100;
namespace OpenXdmod\Migration\Version1051To1100;

use OpenXdmod\Migration\ConfigFilesMigration as AbstractConfigFilesMigration;
use OpenXdmod\Setup\Console;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?php
/**
* Update database from version 10.5.0 to 11.0.0
* Update database from version 10.5.1 to 11.0.0
*/

namespace OpenXdmod\Migration\Version1050To1100;
namespace OpenXdmod\Migration\Version1051To1100;

use OpenXdmod\Migration\DatabasesMigration as AbstractDatabasesMigration;
use CCR\DB;
use CCR\DB\MySQLHelper;
use ETL\Utilities;

/**
* Migrate databases from version 10.5.0 to 11.0.0
* Migrate databases from version 10.5.1 to 11.0.0
*/
class DatabasesMigration extends AbstractDatabasesMigration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function execute()

if ($mysql_helper->tableExists('modw_cloud.event')) {
Utilities::runEtlPipeline(
['cloud-migration-11-0-0_11-0-1','cloud-state-pipeline'],
['cloud-migration-11_0_0-11_0_1','cloud-state-pipeline'],
$this->logger,
['last-modified-start-date' => '2016-01-01 00:00:00']
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"module": "xdmod",
"defaults": {
"migration-10_5_0-11_0_0": {
"migration-10_5_1-11_0_0": {
"namespace": "ETL\\Ingestor",
"class": "DatabaseIngestor",
"options_class": "IngestorOptions"
Expand Down Expand Up @@ -35,7 +35,7 @@
]
}
],
"migration-10_5_0-11_0_0": [
"migration-10_5_1-11_0_0": [
{
"name": "report-templates-charts",
"definition_file": "xdb/report-template-charts.json",
Expand Down
4 changes: 2 additions & 2 deletions configuration/etl/etl.d/xdmod-migration-11_0_0-11_0_1.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"module": "xdmod",
"defaults": {
"cloud-migration-11-0-0_11-0-1": {
"cloud-migration-11_0_0-11_0_1": {
"namespace": "ETL\\Maintenance",
"options_class": "MaintenanceOptions",
"class": "ManageTables",
Expand All @@ -21,7 +21,7 @@
}
}
},
"cloud-migration-11-0-0_11-0-1": [
"cloud-migration-11_0_0-11_0_1": [
{
"name": "AddResourcePIOrganizationID",
"description": "Update modw_cloud.session_records table.",
Expand Down

0 comments on commit 10935aa

Please sign in to comment.