Clean up orphan images
This commit is contained in:
1 parent
8763a8e74a
commit
c3bb015d2f
11 files changed
+496
-2
No files matched your search
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE image_uploads
|
||||
-- UTC time at which cleanup first observed that this upload had no references.
|
||||
ADD COLUMN orphaned_at DATETIME(6) NULL DEFAULT NULL,
|
||||
ADD INDEX image_uploads_orphaned_at (orphaned_at);
|
||||
Reference in new issue
Block a user