wiki.techinc.nl/maintenance/archives/patch-filearchive-drop-fa_description.sql
Reedy fd20d15fac Split patch-drop-comment-fields.sql
Bug: T257356
Change-Id: Iff5b2803a709c314ea0f92c32319993407020836
2020-07-11 00:14:30 +00:00

10 lines
309 B
SQL

--
-- patch-drop-comment-fields.sql
--
-- T166732. Drop old xx_comment fields, and defaults from xx_comment_id fields.
ALTER TABLE /*_*/filearchive
DROP COLUMN fa_deleted_reason,
ALTER COLUMN fa_deleted_reason_id DROP DEFAULT,
DROP COLUMN fa_description,
ALTER COLUMN fa_description_id DROP DEFAULT;