wiki.techinc.nl/maintenance/sqlite/archives/patch-objectcache-modtoken.sql
Aaron Schulz 12923c1cd5 objectcache: add last-modified token field to objectcache table
Also added token and flags fields. The token field can
be used as a tie-breaker for modtime and also for faster
cas() operations. The flags field makes serialization and
compression format changes easier in the future.

Bug: T274174
Change-Id: I45731a877b21835652993c2d285165a76eeae3e9
2021-05-18 20:06:37 -07:00

8 lines
No EOL
440 B
SQL

-- This file is automatically generated using maintenance/generateSchemaChangeSql.php.
-- Source: maintenance/abstractSchemaChanges/patch-objectcache-modtoken.json
-- Do not modify this file directly.
-- See https://www.mediawiki.org/wiki/Manual:Schema_changes
ALTER TABLE /*_*/objectcache
ADD COLUMN modtoken VARCHAR(17) DEFAULT '00000000000000000' NOT NULL;
ALTER TABLE /*_*/objectcache
ADD COLUMN flags INTEGER UNSIGNED DEFAULT NULL;