From 5f8a67bddc4e923aefcddb9419a9e3a97d1eded9 Mon Sep 17 00:00:00 2001 From: MReenen Date: Thu, 10 Feb 2022 13:35:31 +0100 Subject: [PATCH] add DB notes --- db.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 db.md diff --git a/db.md b/db.md new file mode 100644 index 0000000..98287b1 --- /dev/null +++ b/db.md @@ -0,0 +1,41 @@ + + +``` +influxdb + +{ + timestamp, // the deadline + version, + type: "task", // to prepare for calendar events + repeatRule: { + type: "single|date|period|series", + value, + lastItiration + }, + lable +} + +repeatRule: + single: | + value is not used + lastItiration is the date added + date: | + value is de time between reapeats + day(s) + week(s) [day ] + month(s) [date ] + quarter(s) [(month|date) [end|begin]] + year(s) [(month|date) ] + period: + a period after the last time done + day(s) + week(s) [day ] + month(s) [date ] + quarter(s) [(month|date) ] + year(s) [(month|date) ] + series: + a list of timestamps it happends + + + +```