Some checks failed
CI / build-and-test (push) Failing after -31m24s
* Implement ContentEditorField for inline editing of content * Create ContentEditorModal for editing content in a modal * Introduce FormerShell for managing forms related to skills and thoughts * Enhance SkillsPage and ThoughtsPage with new components for better content management
31 lines
686 B
Plaintext
31 lines
686 B
Plaintext
Table maintenance_tasks {
|
|
id uuid [pk, default: `gen_random_uuid()`]
|
|
name text [not null]
|
|
category text
|
|
frequency_days int
|
|
last_completed timestamptz
|
|
next_due timestamptz
|
|
priority text [not null, default: 'medium']
|
|
notes text
|
|
created_at timestamptz [not null, default: `now()`]
|
|
updated_at timestamptz [not null, default: `now()`]
|
|
|
|
indexes {
|
|
next_due
|
|
}
|
|
}
|
|
|
|
Table maintenance_logs {
|
|
id uuid [pk, default: `gen_random_uuid()`]
|
|
task_id uuid [not null, ref: > maintenance_tasks.id]
|
|
completed_at timestamptz [not null, default: `now()`]
|
|
performed_by text
|
|
cost "decimal(10,2)"
|
|
notes text
|
|
next_action text
|
|
|
|
indexes {
|
|
(task_id, completed_at)
|
|
}
|
|
}
|