wiki.techinc.nl/maintenance/archives/patch-drop-filearchive-user-fields.sql

11 lines
281 B
MySQL
Raw Normal View History

--
-- patch-drop-user-fields.sql
--
-- T188327. Drop old xx_user and xx_user_text fields, and defaults from xx_actor fields.
ALTER TABLE /*_*/filearchive
DROP INDEX /*i*/fa_user_timestamp,
DROP COLUMN fa_user,
DROP COLUMN fa_user_text,
ALTER COLUMN fa_actor DROP DEFAULT;