From cdb34fa4d252407fcaf9958a3249434fb403e168 Mon Sep 17 00:00:00 2001 From: James Turk Date: Mon, 30 Mar 2015 18:03:01 -0400 Subject: [PATCH] requirements and inspect the FitNotes db --- notes/fitnotes.md | 122 ++++++++++++++++++++++++++++++++++++++++++++++ requirements.txt | 2 + 2 files changed, 124 insertions(+) create mode 100644 notes/fitnotes.md create mode 100644 requirements.txt diff --git a/notes/fitnotes.md b/notes/fitnotes.md new file mode 100644 index 0000000..beb543f --- /dev/null +++ b/notes/fitnotes.md @@ -0,0 +1,122 @@ +# Core + +Category + _id + name + +exercise + _id + name + category_id + exercise_type_id + notes + weight_increment + +# Log + +training_log + _id + exercise_id + date + metric_weight + reps + unit + routine_section_exercise_set_id + timer_auto_start + is_personal_record + is_personal_record_first + is_complete + +# Routines + +Routine + _id + name + notes + +RoutineSection + _id + routine_id + name + sort_order + +RoutineSectionExercise + _id + routine_section_id + exercise_id + sort_order + +RoutineSectionExerciseSet + _id + routine_section_exercise_id + metric_weight + reps + sort_order + +WorkoutGroup + _id + name + date + colour + routine_section_id + +WorkoutGroupExercise + _id + exercise_id + date + routine_section_id + workout_group_id + +# Other + +BodyWeight + _id + date + body_weight_metric + body_fat + comments + +Goal + _id + type_id + exercise_id + metric_weight + reps + unit + title + target_date + sort_order + +ExerciseGraphFavourite + _id + group_id + exercise_id + graph_type_id + time_period + sort_order + +Comment + _id + date + owner_type_id # used as a generic foreign key construct + owner_id + comment + +# FitNotes specific + +android_metadata + locale + +settings + _id + metric + navigation_position + weight_increment + body_weight_increment + body_weight_goal + body_weight_goal_weight + body_weight_show_in_workout_log + estimated_1rm_max_reps_to_include + estimated_1rm_max_apply_to_graph + track_personal_records + mark_sets_complete diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..6e7f913 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +pytest +--pre Django