content_moderation.install 389 B

12345678910111213141516
  1. <?php
  2. /**
  3. * @file
  4. * Install, update and uninstall functions for the Content Moderation module.
  5. */
  6. /**
  7. * Remove the 'content_revision_tracker' table.
  8. */
  9. function content_moderation_update_8401() {
  10. $database_schema = \Drupal::database()->schema();
  11. if ($database_schema->tableExists('content_revision_tracker')) {
  12. $database_schema->dropTable('content_revision_tracker');
  13. }
  14. }