Project

General

Profile

Actions

Infrastructure #91

open

backend overhaul

Added by Sam Pearson 13 days ago. Updated 13 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
11/22/2025
Due date:
% Done:

0%

Estimated time:

Description

We have two directories concerning database configuration, "database" and "config".

Config is the old one.

We need to create all the db models the app needs and create them in the new "database" directory.

then we delete the config folder

Actions #1

Updated by Sam Pearson 13 days ago ยท Edited

List of new database things to create

Checkins (checkins/)

Models needed:

  • Checkin (timestamp, entity reference, notes, metrics)

Commitments (commitments/)

Models needed:

  • Commitment (entity reference, due_date, completed)
  • SoftCommitment (entity reference, timeframe, start/end dates)

Principles (principles/)

Models needed:

  • Principle (name, description)
  • PrincipleAssociation (principle_id, entity reference)

Projects (projects/)

Models needed:

  • Project (title, description, win_condition, reason, next_step)
  • ProjectTask (title, description, project_id, complete)

Routines (routines/)

Models needed:

  • Routine (title, schedule/RRULE, description, active status)
  • Session (start_time, end_time, routine_id, completed)
Actions

Also available in: Atom PDF