pub async fn add_file_for_cleanup<'c, E>(
executor: E,
file_path: &str,
file_size: i64,
) -> Result<(), Error>where
E: PgExecutor<'c>,Expand description
Adds a file to the temporary_files table for cleanup.
Files added to temporary_files will be automatically deleted by the cleanup process after the expiration time. The default expiration is 1 hour from now.