Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / content_moderation / content_moderation.install
diff --git a/web/core/modules/content_moderation/content_moderation.install b/web/core/modules/content_moderation/content_moderation.install
new file mode 100644 (file)
index 0000000..e33a359
--- /dev/null
@@ -0,0 +1,16 @@
+<?php
+
+/**
+ * @file
+ * Install, update and uninstall functions for the Content Moderation module.
+ */
+
+/**
+ * Remove the 'content_revision_tracker' table.
+ */
+function content_moderation_update_8401() {
+  $database_schema = \Drupal::database()->schema();
+  if ($database_schema->tableExists('content_revision_tracker')) {
+    $database_schema->dropTable('content_revision_tracker');
+  }
+}