-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change device_id to VIN #32
Conversation
Suggesting a change to the identifier for a vehicle away from a UUID and using the operators identifier instead. The thought here is that each bike manufacturer already has a unique identifier for their vehicle embedded in their code (QR code or otherwise). It's part of the inherent of the business. Let's use that number so they could be correlated to real bikes on the street if it ever became necessary.
This is good, but creates some weird issues with indexing in a merged database and could degrade analytics/query performance. For example, if say, both Additionally, if Tagging @dmklinger and @hannah-ross for more thoughts. |
could we stipulate that provide us with a UUID that is based on the VIN - for example, a 4-digit operator number we assign preceding the VIN to create the entire identifier. then we could use that to identify devices on the street as well, and it wouldn't create conflicts on our side. Would that be a reasonable ask of the operators? Also would we need to require that all UUIDs/VINs be the same number of characters or anything like that? |
What about taking the the provider_id and the vehicle_id and concatenate them to make a unique key for the table and query. |
Resolved: Keep both In the |
@toddapetersen does this look good? |
Suggesting a change to the identifier for a vehicle away from a UUID and using the operators VIN identifier instead. The thought here is that each bike manufacturer already has a unique identifier for their vehicle embedded in their code (QR code or otherwise). It is inherent to the business. Let's use that number so they could be correlated to real bikes on the street if it ever became necessary.