function content_moderation_update_8401

Remove the 'content_revision_tracker' table.

File

core/modules/content_moderation/content_moderation.install, line 53

Code

function content_moderation_update_8401() {
    $database_schema = \Drupal::database()->schema();
    if ($database_schema->tableExists('content_revision_tracker')) {
        $database_schema->dropTable('content_revision_tracker');
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.