Skip to content

Instantly share code, notes, and snippets.

/backgrade.sql Secret

Created October 11, 2017 16:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3d3a46d06d4432310d9fe30760f0bc4e to your computer and use it in GitHub Desktop.
Save anonymous/3d3a46d06d4432310d9fe30760f0bc4e to your computer and use it in GitHub Desktop.
alter table block_content_field_data add column `revision_created` int(11) DEFAULT NULL after changed;
alter table block_content_field_data add column `revision_user` int(10) unsigned DEFAULT NULL COMMENT 'The ID of the target entity.' after revision_created;
update media_field_data set revision_translation_affected=NULL;
update media_field_revision set revision_translation_affected=NULL;
update paragraphs_item_field_data set revision_translation_affected=NULL;
update paragraphs_item_revision_field_data set revision_translation_affected=NULL;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment