diff options
Diffstat (limited to 'db.py')
| -rw-r--r-- | db.py | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -59,6 +59,16 @@ CREATE INDEX IF NOT EXISTS idx_workout_sessions_date CREATE INDEX IF NOT EXISTS idx_workout_template_exercises_template ON workout_template_exercises(template_id); + +CREATE TABLE IF NOT EXISTS weight_logs ( + id INTEGER PRIMARY KEY AUTOINCREMENT, + date_time TEXT NOT NULL, + weight REAL NOT NULL, + note TEXT +); + +CREATE INDEX IF NOT EXISTS idx_weight_logs_date + ON weight_logs(date_time); """ |
