Sync your own workout data from your "Strong" app
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

dont forget the init.sql

+13 -13
+13 -13
docker/init.sql
··· 3 3 4 4 CREATE TABLE workout_sets 5 5 ( 6 - `workout_id` String, 7 - `workout_name` String, 8 - `timezone` Nullable(String), 9 - `start_date` Nullable(DateTime), 10 - `end_date` Nullable(DateTime), 11 - `exercise_id` String, 12 - `exercise_name` String, 13 - `set_id` String, 14 - `weight` Nullable(Float32), 15 - `reps` UInt32, 16 - `rpe` Nullable(Float32) 6 + workout_id UUID, 7 + workout_name String, 8 + timezone String DEFAULT 'Europe/Berlin', 9 + start_date DateTime64(3) DEFAULT now(), 10 + end_date DateTime64(3) DEFAULT now(), 11 + exercise_id UUID, 12 + exercise_name String, 13 + set_id UUID, 14 + weight Float32 DEFAULT 0.0, 15 + reps UInt32, 16 + rpe Float32 DEFAULT 0.0 17 17 ) 18 - ENGINE = MergeTree 19 - ORDER BY ifNull(start_date, toDateTime('1970-01-01 00:00:00')) 18 + ENGINE = ReplacingMergeTree() 19 + ORDER BY (start_date, workout_id, exercise_id, set_id);