Skip to content

Include an auto-incrementing id column for replication support#187

Merged
danielbachhuber merged 2 commits intomasterfrom
include-auto-increment-id-column
Mar 29, 2021
Merged

Include an auto-incrementing id column for replication support#187
danielbachhuber merged 2 commits intomasterfrom
include-auto-increment-id-column

Conversation

@danielbachhuber
Copy link
Contributor

See https://wordpress.org/support/topic/not-compatible-with-mysql-group-replication/

Existing tables can be updated with:

ALTER TABLE wp_pantheon_sessions ADD COLUMN id BIGINT AUTO_INCREMENT PRIMARY KEY FIRST
@danielbachhuber danielbachhuber added this to the 1.2.2 milestone Mar 29, 2021
@danielbachhuber danielbachhuber merged commit b3eddce into master Mar 29, 2021
@danielbachhuber danielbachhuber deleted the include-auto-increment-id-column branch March 29, 2021 18:28
@shadowlmd
Copy link

Thanks a lot for this fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants