From 4aeb0d95ccf7e4427c60ecd915a48922f465e451 Mon Sep 17 00:00:00 2001 From: yumeko Date: Fri, 19 Apr 2024 07:03:09 +0300 Subject: [PATCH] Add DriveFile usageHint field to rust model as well --- packages/backend-rs/src/model/entity/drive_file.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/backend-rs/src/model/entity/drive_file.rs b/packages/backend-rs/src/model/entity/drive_file.rs index e3e4622a62..e5c3995573 100644 --- a/packages/backend-rs/src/model/entity/drive_file.rs +++ b/packages/backend-rs/src/model/entity/drive_file.rs @@ -52,6 +52,8 @@ pub struct Model { pub request_headers: Option, #[sea_orm(column_name = "requestIp")] pub request_ip: Option, + #[sea_orm(column_name = "usageHint")] + pub usage_hint: Option, } #[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]