T28741: Migrate file tables to a modern layout (image/oldimage; file/filerevision; add primary keys) does not yet touched the filearchive table. One may expect this table should also be migrated to filerevision, but it depends on how we will do in T20493: RFC: Unify the various deletion systems. This task is just a placeholder before the two subtasks are resolved.
Even if we decided to keep this table, some optimization can be done, such as:
- T297215: Drop unused filearchive.fa_deleted_reason_id and filearchive.fa_deleted_user
- migrate fa_media_type, fa_major_mime and fa_minor_mime to filetypes table.
- drop fa_storage_group and fa_storage_key
- (unsure) migrate fa_name to refer to file table