Skip to content

Commit ee38648

Browse files
fixed wrong mock seed data (#814)
1 parent bc08673 commit ee38648

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

crates/db-user/src/init.rs

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -286,42 +286,6 @@ pub async fn seed(db: &UserDatabase, user_id: impl Into<String>) -> Result<(), c
286286
end_date: now + chrono::Duration::minutes(30),
287287
google_event_url: None,
288288
},
289-
// Today, not linked to any session
290-
Event {
291-
id: uuid::Uuid::new_v4().to_string(),
292-
user_id: user.id.clone(),
293-
tracking_id: uuid::Uuid::new_v4().to_string(),
294-
name: "Design Review".to_string(),
295-
note: "Review new UI mockups.".to_string(),
296-
calendar_id: Some(calendars[0].id.clone()),
297-
start_date: now + chrono::Duration::hours(2),
298-
end_date: now + chrono::Duration::hours(3),
299-
google_event_url: None,
300-
},
301-
// Tomorrow
302-
Event {
303-
id: uuid::Uuid::new_v4().to_string(),
304-
user_id: user.id.clone(),
305-
tracking_id: uuid::Uuid::new_v4().to_string(),
306-
name: "Team Lunch".to_string(),
307-
note: "Casual team gathering.".to_string(),
308-
calendar_id: Some(calendars[0].id.clone()),
309-
start_date: now + chrono::Duration::days(1) + chrono::Duration::hours(12),
310-
end_date: now + chrono::Duration::days(1) + chrono::Duration::hours(13),
311-
google_event_url: None,
312-
},
313-
// Next Week
314-
Event {
315-
id: uuid::Uuid::new_v4().to_string(),
316-
user_id: user.id.clone(),
317-
tracking_id: uuid::Uuid::new_v4().to_string(),
318-
name: "Sprint Planning".to_string(),
319-
note: "Plan next sprint tasks.".to_string(),
320-
calendar_id: Some(calendars[0].id.clone()),
321-
start_date: now + chrono::Duration::days(7) + chrono::Duration::hours(10),
322-
end_date: now + chrono::Duration::days(7) + chrono::Duration::hours(11),
323-
google_event_url: None,
324-
},
325289
// --- Past Events for linking to NotesList ---
326290
// Last Month
327291
Event {

0 commit comments

Comments
 (0)