wiki.techinc.nl/maintenance/archives/patch-user_autocreate_serial-uas_year.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
489 B
MySQL
Raw Normal View History

-- This file is automatically generated using maintenance/generateSchemaChangeSql.php.
-- Source: maintenance/abstractSchemaChanges/patch-user_autocreate_serial-uas_year.json
-- Do not modify this file directly.
-- See https://www.mediawiki.org/wiki/Manual:Schema_changes
DROP INDEX `primary` ON /*_*/user_autocreate_serial;
ALTER TABLE /*_*/user_autocreate_serial
ADD uas_year SMALLINT UNSIGNED NOT NULL;
ALTER TABLE /*_*/user_autocreate_serial
ADD PRIMARY KEY (uas_shard, uas_year);