From 32ce7a302654287d89dc5e71851cc47a33142aa3 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Mon, 15 Dec 2025 21:24:07 -0700 Subject: [PATCH] Cleanup from previous PR https://github.com/element-hq/synapse/pull/19268/changes#r2614217300 wasn't applied and the migration had copy/paste artifacts. PR: https://github.com/element-hq/synapse/pull/19268 --- changelog.d/19268.feature | 2 +- .../schema/main/delta/93/04_add_quarantined_ts_to_media.sql | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/changelog.d/19268.feature b/changelog.d/19268.feature index cb7035fee2..dbb3bfb14f 100644 --- a/changelog.d/19268.feature +++ b/changelog.d/19268.feature @@ -1 +1 @@ -Add an admin API for retrieving a paginated list of quarantined media. \ No newline at end of file +Add a ["Listing all quarantined media" Admin API](https://element-hq.github.io/synapse/latest/admin_api/media_admin_api.html#listing-all-quarantined-media) for retrieving a paginated list of quarantined media. \ No newline at end of file diff --git a/synapse/storage/schema/main/delta/93/04_add_quarantined_ts_to_media.sql b/synapse/storage/schema/main/delta/93/04_add_quarantined_ts_to_media.sql index 18b76804ff..bb0aaf3ec7 100644 --- a/synapse/storage/schema/main/delta/93/04_add_quarantined_ts_to_media.sql +++ b/synapse/storage/schema/main/delta/93/04_add_quarantined_ts_to_media.sql @@ -11,12 +11,6 @@ -- See the GNU Affero General Public License for more details: -- . --- Add a timestamp for when the sliding sync connection position was last used, --- only updated with a small granularity. --- --- This should be NOT NULL, but we need to consider existing rows. In future we --- may want to either backfill this or delete all rows with a NULL value (and --- then make it NOT NULL). ALTER TABLE local_media_repository ADD COLUMN quarantined_ts BIGINT; ALTER TABLE remote_media_cache ADD COLUMN quarantined_ts BIGINT;