From 7e45fecf192ff3e2fa5bfa10a06c4315913b759f Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Sat, 28 Oct 2023 11:31:45 -0700 Subject: [PATCH] Remove unused Variable type --- src-tauri/src/models.rs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src-tauri/src/models.rs b/src-tauri/src/models.rs index 52fe3dd7..d72e94a2 100644 --- a/src-tauri/src/models.rs +++ b/src-tauri/src/models.rs @@ -39,20 +39,6 @@ pub struct EnvironmentVariable { pub value: String, } -#[derive(sqlx::FromRow, Debug, Clone, Serialize, Deserialize)] -#[serde(rename_all = "camelCase")] -pub struct Variable { - pub id: String, - pub workspace_id: String, - pub environment_id: String, - pub model: String, - pub created_at: NaiveDateTime, - pub updated_at: NaiveDateTime, - pub name: String, - pub value: String, - pub sort_priority: f64, -} - #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(rename_all = "camelCase")] pub struct HttpRequestHeader {