wiki.techinc.nl/maintenance/archives/patch-archive-ar_actor.sql
Reedy e22efbce17 Split down patch-actor-table.sql
Bug: T227662
Change-Id: I024ff1d6f4c2726242138ba7e7f19480d9d2b948
2019-09-30 15:20:08 +00:00

4 lines
224 B
SQL

ALTER TABLE /*_*/archive
ALTER COLUMN ar_user_text SET DEFAULT '',
ADD COLUMN ar_actor bigint unsigned NOT NULL DEFAULT 0 AFTER ar_user_text;
CREATE INDEX /*i*/ar_actor_timestamp ON /*_*/archive (ar_actor,ar_timestamp);