GoogleCloudPlatform / GoogleCloudPlatform/datashare-toolkit

Add upgrade / migration functionality to api

Open
#245 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
94
Forks
27
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
If and when a breaking change is made as part of an upgrade, we need to upgrade/migrate existing data/schemas.

**Describe the solution you'd like**
Build a generic data migration/upgrade solution on API startup.
1. Check current app schema version.
2. If requires upgrade, create copy of master Dataset, execute all version upgrade scripts in sequence to get to the necessary version.
3. Validate.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.