Aaron Schulz has uploaded a new change for review. https://gerrit.wikimedia.org/r/202344
Change subject: [WIP] Added CAS token field to global user table ...................................................................... [WIP] Added CAS token field to global user table * This allows for atomic updates, even with sometimes stale data Change-Id: I04c7b1476bd460933a6391891c811c2166a88361 --- M central-auth.sql A db_patches/patch-gu_cas_token.sql 2 files changed, 5 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth refs/changes/44/202344/1 diff --git a/central-auth.sql b/central-auth.sql index 1438386..132b909 100644 --- a/central-auth.sql +++ b/central-auth.sql @@ -85,7 +85,10 @@ gu_password_reset_expiration varchar(14) binary, -- Random key for crosswiki authentication tokens - gu_auth_token varbinary(32) NULL + gu_auth_token varbinary(32) NULL, + + -- Value used for CAS operations + gu_cas_token varbinary(32) NULL ) /*$wgDBTableOptions*/; CREATE UNIQUE INDEX /*i*/gu_name ON /*_*/globaluser (gu_name); diff --git a/db_patches/patch-gu_cas_token.sql b/db_patches/patch-gu_cas_token.sql new file mode 100755 index 0000000..4120551 --- /dev/null +++ b/db_patches/patch-gu_cas_token.sql @@ -0,0 +1 @@ +ALTER TABLE globaluser ADD COLUMN gu_cas_token varbinary(32) NULL; -- To view, visit https://gerrit.wikimedia.org/r/202344 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I04c7b1476bd460933a6391891c811c2166a88361 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/CentralAuth Gerrit-Branch: master Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits