diff options
Diffstat (limited to 'makima/src/db/models.rs')
| -rw-r--r-- | makima/src/db/models.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/makima/src/db/models.rs b/makima/src/db/models.rs index 6ec6cf4..19ebb13 100644 --- a/makima/src/db/models.rs +++ b/makima/src/db/models.rs @@ -2723,6 +2723,16 @@ pub struct Directive { pub updated_at: DateTime<Utc>, } +/// A historical record of a directive goal change. +#[derive(Debug, Clone, FromRow, Serialize, Deserialize, ToSchema)] +#[serde(rename_all = "camelCase")] +pub struct DirectiveGoalHistory { + pub id: Uuid, + pub directive_id: Uuid, + pub goal: String, + pub created_at: DateTime<Utc>, +} + /// A step in a directive's DAG. #[derive(Debug, Clone, FromRow, Serialize, Deserialize, ToSchema)] #[serde(rename_all = "camelCase")] |
