Changeset c4c43f3 for db-scripts/dml.sql
- Timestamp:
- 04/20/26 19:04:21 (3 months ago)
- Branches:
- master
- Children:
- 37307aa
- Parents:
- 6fa5831
- File:
-
- 1 edited
-
db-scripts/dml.sql (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
db-scripts/dml.sql
r6fa5831 rc4c43f3 192 192 ); 193 193 194 INSERT INTO TRAINING_SESSIONS (training_id, training_user_id, weight_user_id,duration, calories, date, type) VALUES195 (1, 1, 1,60, 500, '2026-02-01', 'Running'),196 (2, 2, 2,45, 400, '2026-02-01', 'Cycling'),197 (3, 3, 3 , 30, 300, '2026-02-01', 'Swimming'),198 (4, 4, 4,50, 420, '2026-02-02', 'HIIT'),199 (5, 5, 5,40, 350, '2026-02-02', 'Strength'),200 (6, 6, 6,35, 280, '2026-02-02', 'Yoga'),201 (7, 7, 7,55, 520, '2026-02-03', 'Running'),202 (8, 8, 8,45, 390, '2026-02-03', 'Cycling'),203 (9, 9, 9,30, 260, '2026-02-03', 'Rowing'),204 (10, 10, 10,60, 480, '2026-02-04', 'Swimming'),205 (11, 11, 11,50, 430, '2026-02-05', 'Strength'),206 (12, 12, 12,40, 310, '2026-02-05', 'Yoga'),207 (13, 13, 13,60, 540, '2026-02-06', 'Running'),208 (14, 14, 14,35, 260, '2026-02-06', 'Pilates'),209 (15, 15, 15,45, 390, '2026-02-07', 'Cycling'),210 (16, 16, 16,55, 460, '2026-02-07', 'HIIT'),211 (17, 17, 17,30, 240, '2026-02-08', 'Rowing'),212 (18, 18, 18,65, 520, '2026-02-08', 'Swimming'),213 (19, 19, 19,50, 440, '2026-02-09', 'Running'),214 (20, 20, 20,45, 370, '2026-02-09', 'Strength'),215 (21, 11, 11,35, 300, '2026-02-12', 'Cycling'),216 (22, 13, 13,30, 260, '2026-02-12', 'Core'),217 (23, 15, 15,70, 600, '2026-02-13', 'Long Run'),218 (24, 17, 17,40, 320, '2026-02-13', 'Strength');194 INSERT INTO TRAINING_SESSIONS (training_id, training_user_id, duration, calories, date, type) VALUES 195 (1, 1, 60, 500, '2026-02-01', 'Running'), 196 (2, 2, 45, 400, '2026-02-01', 'Cycling'), 197 (3, 3, 30, 300, '2026-02-01', 'Swimming'), 198 (4, 4, 50, 420, '2026-02-02', 'HIIT'), 199 (5, 5, 40, 350, '2026-02-02', 'Strength'), 200 (6, 6, 35, 280, '2026-02-02', 'Yoga'), 201 (7, 7, 55, 520, '2026-02-03', 'Running'), 202 (8, 8, 45, 390, '2026-02-03', 'Cycling'), 203 (9, 9, 30, 260, '2026-02-03', 'Rowing'), 204 (10, 10, 60, 480, '2026-02-04', 'Swimming'), 205 (11, 11, 50, 430, '2026-02-05', 'Strength'), 206 (12, 12, 40, 310, '2026-02-05', 'Yoga'), 207 (13, 13, 60, 540, '2026-02-06', 'Running'), 208 (14, 14, 35, 260, '2026-02-06', 'Pilates'), 209 (15, 15, 45, 390, '2026-02-07', 'Cycling'), 210 (16, 16, 55, 460, '2026-02-07', 'HIIT'), 211 (17, 17, 30, 240, '2026-02-08', 'Rowing'), 212 (18, 18, 65, 520, '2026-02-08', 'Swimming'), 213 (19, 19, 50, 440, '2026-02-09', 'Running'), 214 (20, 20, 45, 370, '2026-02-09', 'Strength'), 215 (21, 11, 35, 300, '2026-02-12', 'Cycling'), 216 (22, 13, 30, 260, '2026-02-12', 'Core'), 217 (23, 15, 70, 600, '2026-02-13', 'Long Run'), 218 (24, 17, 40, 320, '2026-02-13', 'Strength'); 219 219 220 220 SELECT setval( … … 223 223 ); 224 224 225 INSERT INTO DISCIPLINE_USERS (user_id , num_tasks, tasks) VALUES226 (1 , 2, '["Morning Run","Read Book"]'),227 (2 , 1, '["Meditation"]'),228 (3 , 3, '["Plan Day","No Sugar","Stretch"]'),229 (4 , 2, '["Drink Water","Walk 8k Steps"]'),230 (5 , 2, '["Journal","Gym"]'),231 (6 , 1, '["Study 1h"]'),232 (7 , 2, '["Stretch 10m","No Soda"]'),233 (8 , 2, '["Walk 30m","Sleep 7h"]'),234 (9 , 3, '["Read 20p","Meditate","No Sugar"]'),235 (10 , 1, '["Drink Water"]'),236 (11 , 3, '["Morning Run","Plan Day","Study 1h"]'),237 (12 , 2, '["Yoga","Cook Healthy"]'),238 (13 , 2, '["Gym","Protein Target"]'),239 (14 , 2, '["Journal","Early Bed"]'),240 (15 , 3, '["Duolingo","No Alcohol","Walk 8k Steps"]');241 242 INSERT INTO CUSTOM_TRACKING_CATEGORIES (custom_tracking_id, user_id, name , num_tasks, tasks) VALUES243 (1, 1, 'Project Trekr' , 2, '["Code Review","Push Updates"]'),244 (2, 2, 'Language Learning' , 2, '["Duolingo","Watch Lesson"]'),245 (3, 3, 'Side Hustle' , 3, '["Client Outreach","Build Feature","Invoice"]'),246 (4, 5, 'Fitness Plan' , 2, '["Protein Target","Sleep 8h"]'),247 (5, 6, 'Exam Prep' , 2, '["Practice Problems","Review Notes"]'),248 (6, 11, 'University' , 3, '["Attend Lecture","Solve Tasks","Review"]'),249 (7, 12, 'Health' , 2, '["Steps","Water"]'),250 (8, 13, 'Startup' , 3, '["Pitch","Build","Ship"]'),251 (9, 14, 'Cooking' , 2, '["Meal Prep","Groceries"]'),252 (10, 15, 'Reading List' , 2, '["Read Fiction","Read Nonfiction"]'),253 (11, 16, 'Work Sprint' , 3, '["Standup","Tickets","PR Review"]'),254 (12, 17, 'Finance Goals' , 2, '["Track Expenses","Invest"]'),255 (13, 18, 'Language' , 2, '["Duolingo","Podcast"]'),256 (14, 19, 'Gym Program' , 3, '["Squat","Bench","Deadlift"]'),257 (15, 20, 'Exam Prep' , 3, '["Practice","Mock","Review"]');225 INSERT INTO DISCIPLINE_USERS (user_id) VALUES 226 (1), 227 (2), 228 (3), 229 (4), 230 (5), 231 (6), 232 (7), 233 (8), 234 (9), 235 (10), 236 (11), 237 (12), 238 (13), 239 (14), 240 (15); 241 242 INSERT INTO CUSTOM_TRACKING_CATEGORIES (custom_tracking_id, user_id, name) VALUES 243 (1, 1, 'Project Trekr'), 244 (2, 2, 'Language Learning'), 245 (3, 3, 'Side Hustle'), 246 (4, 5, 'Fitness Plan'), 247 (5, 6, 'Exam Prep'), 248 (6, 11, 'University'), 249 (7, 12, 'Health'), 250 (8, 13, 'Startup'), 251 (9, 14, 'Cooking'), 252 (10, 15, 'Reading List'), 253 (11, 16, 'Work Sprint'), 254 (12, 17, 'Finance Goals'), 255 (13, 18, 'Language'), 256 (14, 19, 'Gym Program'), 257 (15, 20, 'Exam Prep'); 258 258 259 259 SELECT setval(
Note:
See TracChangeset
for help on using the changeset viewer.
