Infrastructure #91
open
Added by Sam Pearson 13 days ago.
Updated 13 days ago.
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
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)
Also available in: Atom
PDF