Skip to content
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

Update to support MDS 0.4.x #71

Merged
merged 13 commits into from
May 21, 2020
Merged

Update to support MDS 0.4.x #71

merged 13 commits into from
May 21, 2020

Conversation

thekaveman
Copy link
Contributor

@thekaveman thekaveman commented May 21, 2020

Database and ingestion flow modifications to support MDS 0.4.x:

  • new fields in status_changes and trips
  • events and vehicles

Depends on #87 in mds-provider library

* vehicle_types enum additions

* new fields:
  - status_changes.associated_ticket
  - trips.currency (with default = 'USD')

* new table vehicles
* CLI params for --events and --vehicles
* updates to outdated CLI params, spelling/wording fixes
* updating time query range requirements and handling
* version-appropriate API params
* support the additional schema types: events and vehicles
* better time query range handling, given not all schema types
  require full time query ranges
* ensure the schema-specific data key is used rather than
  user-provided schema type (e.g. events uses status_changes)
* adding default unique columns for vehicles
* default unique columns for events same as status_changes
* adding default ON CONFLICT UPDATE actions for vehicles
* default ON CONFLICT UDPATE actions for events same as status_changes
@thekaveman thekaveman added this to the MDS 0.4.x milestone May 21, 2020
* version check events and vehicles loading
* add version-specific default update actions
@thekaveman thekaveman merged commit fd1259a into master May 21, 2020
@thekaveman thekaveman deleted the 04x branch May 21, 2020 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant