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

Core!: database upgrades and migration #359

Merged
merged 28 commits into from
Feb 19, 2025
Merged

Core!: database upgrades and migration #359

merged 28 commits into from
Feb 19, 2025

Conversation

chrismclarke
Copy link
Collaborator

@chrismclarke chrismclarke commented Feb 14, 2025

Description

  • Provide major version bump for db system (v14 -> v16)
  • Add migration system to better handle migrating db changes

DB major version bumbs are breaking, and so need to create a new database and attempt to migrate all existing data. There is some scope for data loss if migration does not happen successfully

In addition existing user collections are not migrated as the system is not used actively

Discussion

Whilst every effort has been made to reduce risk of data loss, there may be some users that may run into unforeseen issues. If any specific issues are identified then data should still be recoverable from backup system implemented

Preview

Link to app preview if relevant

Screenshots / Videos

Include at least 1-2 screenshots of videos if visual changes

@github-actions github-actions bot added Tool: Monitoring Updates related to Monitoring tool Tool: Resources Updates related to Resources tool labels Feb 14, 2025
Copy link

nx-cloud bot commented Feb 14, 2025

View your CI Pipeline Execution ↗ for commit 9593add.

Command Status Duration Result
nx build ✅ Succeeded 5m 5s View ↗
nx run-many --target=lint ✅ Succeeded 4s View ↗

☁️ Nx Cloud last updated this comment at 2025-02-19 18:11:33 UTC

@github-actions github-actions bot added the Tool: Budget Updates related to Budget tool label Feb 18, 2025
@chrismclarke chrismclarke changed the title Core/rxdb upgrade Core!: rxdb upgrade Feb 19, 2025
@chrismclarke chrismclarke marked this pull request as ready for review February 19, 2025 18:18
@chrismclarke chrismclarke changed the title Core!: rxdb upgrade Core!: database upgrades and migration Feb 19, 2025
@chrismclarke chrismclarke merged commit 438b91a into main Feb 19, 2025
4 checks passed
@chrismclarke chrismclarke deleted the core/rxdb-upgrade branch February 19, 2025 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Tool: Budget Updates related to Budget tool Tool: Monitoring Updates related to Monitoring tool Tool: Resources Updates related to Resources tool
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant