Add timestamp to mods for some resumability

This commit is contained in:
2021-07-29 00:50:42 -04:00
parent a8424e830e
commit fc5a9d39c2
5 changed files with 61 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
ALTER TABLE "files" ADD COLUMN "downloaded_at" TIMESTAMP(3);
/* Backfill existing columns the created_at timestamps.
/* Backfill existing columns using the created_at timestamps.
*
* This is approximate since usually the file was downloaded shortly after the record was created.
* I mostly only care whether it is null or not null. All existing files need non-null values.