Skip to content

Commit

Permalink
Add field updates to resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
muzzwood committed Oct 26, 2024
1 parent 8455a01 commit d6fac55
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions _build/resolvers/tables.resolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@
$manager->createObjectContainer($obj);
}

// Set to fatal errors only while updating database, to avoid false positives displayed.
$modx->setLogLevel(modX::LOG_LEVEL_FATAL);

// VersionX 3.1.1
// These fields are added to keep track of data types to be used when reverting
$manager->addField('vxDeltaField', 'before_type', ['after' => 'field_type']);
$manager->addField('vxDeltaField', 'after_type', ['after' => 'before_type']);

$modx->setLogLevel($loglevel);

break;
Expand Down

0 comments on commit d6fac55

Please sign in to comment.