Skip to content

Adding the ability to export / import the database.#1685

Merged
dessalines merged 2 commits intomainfrom
add_db_export_import
Oct 1, 2024
Merged

Adding the ability to export / import the database.#1685
dessalines merged 2 commits intomainfrom
add_db_export_import

Conversation

@dessalines
Copy link
Copy Markdown
Member

@dessalines dessalines commented Sep 30, 2024

  • Uses the room-db-export-import library I recently made.

An example of saving a DB, logging out, then restoring it.

Record_2024-09-30-10-06-35.mp4

- Uses the room-db-export-import library I recently made.
@dessalines dessalines requested a review from MV-GH as a code owner September 30, 2024 14:10
Comment thread app/src/main/res/values/strings.xml Outdated
@MV-GH
Copy link
Copy Markdown
Collaborator

MV-GH commented Sep 30, 2024

Database restore/save is only usable if the app is on the same version?

i don't exactly like its placement in Settings.

@dessalines
Copy link
Copy Markdown
Member Author

Yep, it's locked to a specific db version, but that's not too big an issue imo, as long as our upgrade migrations never break. I think on startup it should run any pending migrations.

I could add a backups or maintenance screen / section of the settings, would that work?

@MV-GH
Copy link
Copy Markdown
Collaborator

MV-GH commented Sep 30, 2024

Yeah sure

@dessalines dessalines marked this pull request as draft October 1, 2024 00:01
@dessalines dessalines marked this pull request as ready for review October 1, 2024 00:17
@dessalines dessalines requested a review from MV-GH October 1, 2024 00:18
@dessalines dessalines merged commit 4ce826c into main Oct 1, 2024
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.

2 participants