summaryrefslogtreecommitdiff
path: root/makima/src/db/models.rs
diff options
context:
space:
mode:
Diffstat (limited to 'makima/src/db/models.rs')
-rw-r--r--makima/src/db/models.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/makima/src/db/models.rs b/makima/src/db/models.rs
index 1fe6e35..44af939 100644
--- a/makima/src/db/models.rs
+++ b/makima/src/db/models.rs
@@ -2721,6 +2721,12 @@ pub struct Directive {
pub version: i32,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
+ /// True for the per-owner scratchpad directive. Auto-created on first
+ /// orphan-task creation. Hidden from the directive list; surfaced to
+ /// users via the sidebar's `tmp/` folder. Tasks attached to a tmp
+ /// directive are auto-deleted after 30 days.
+ #[serde(default)]
+ pub is_tmp: bool,
}
/// A historical record of a directive goal change.