Closed smarbin closed 6 years ago
Must be related. There are also some double names in the Admin Driver tab e.g. from this page: https://staging.drive.vote/admin/drivers?q=danny Two of these are duplicates. The other two are unique.
I think it's likely that there are actual double entries in the DB, so may be more likely sloppy data in staging than a bug--we have a file called 'seeds' that can be used to populate your local env with test data, looks like it was run multiple times on staging.
I'll check the DB directly right now, @smarbin we can sync before your next training (but not the one in 20 minutes, don't want to surprise you) about cleaning the staging data so it's easier to use and understand.
Spent some time mucking in the DB, confirmed that the data is hot mess from all the banging on it we've done. In particular it looks like someone, probably me, re-ran the import of seed data into at some time, resulting in some duplicates.
I'm going to close this, because I don't think it's a code bug. But we can wipe staging if you want and set it up with new data--though maybe that's not necessary since you created the new RZs, @smarbin. Let me know.
Ok sounds like it's not necessary, thanks for checking it out!
Most, but not all drivers are duplicates in this view. The first and last appear to be unique. This comes from the page: https://staging.drive.vote/dispatch/orlando/drivers