RespectableThieves / hypecycle

An open-source, React Native-based cycling computer! Track your ride metrics like speed, power, heart rate, and altitude in real time. Manage sensors easily, map your journeys, and look forward to amazing features like live shared data and tracking within your social ride groups. #ReactNative #OpenSource #CyclingTech 🚴‍♂️📲🌐
5 stars 2 forks source link

Create rides table #6

Closed shaunmulligan closed 1 year ago

shaunmulligan commented 1 year ago

A ride should be:

*id: alphaNumeric (primary)
*start_at: timestamp / or just use created_at
end_at: timestamp
*is_active: boolean

There should only be one is_active ride at a time, so when starting a new activity, all others should be automatically marked as is_active == false

shaunmulligan commented 1 year ago

should add:

Also should add path to tcx file.

craigmulligan commented 1 year ago

I can pick this up.