We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c13fd40 commit 0787c52Copy full SHA for 0787c52
content_moderation.install
@@ -186,3 +186,14 @@ function content_moderation_update_1002() {
186
db_drop_table('workbench_moderation_transitions');
187
}
188
189
+
190
+/**
191
+ * Rename workbench_moderation_node_history table.
192
+ */
193
+function content_moderation_update_1003() {
194
+ $table = 'workbench_moderation_node_history';
195
+ $new_name = 'content_moderation_node_history';
196
+ if (db_table_exists($table) && !db_table_exists($new_name)) {
197
+ db_rename_table($table, $new_name);
198
+ }
199
+}
0 commit comments