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

02b-room-migrations #8

Open
wants to merge 1 commit into
base: 02a-room
Choose a base branch
from
Open

Conversation

Serchinastico
Copy link
Contributor

This PR is not meant to be merged

This is how to apply migrations to DBs with Room:

  • Replace the current SuperHeroEntity fields by an @Embedded SuperHero field as they are the same model as of now.
  • Add a migration to the database to version 2 of the superheroes table.
  • Add support for tests and test the migration. That implies including the schemas in JSON format for every DB version

@Serchinastico Serchinastico mentioned this pull request Jan 30, 2019
@Serchinastico Serchinastico force-pushed the 02b-room-migrations branch 2 times, most recently from a1d55af to 853a5c7 Compare January 30, 2019 11:31
@Serchinastico Serchinastico force-pushed the 02b-room-migrations branch 2 times, most recently from be53161 to 1f60144 Compare March 15, 2019 16:50
@Serchinastico Serchinastico force-pushed the 02b-room-migrations branch 2 times, most recently from 7093a05 to 92b4d48 Compare May 21, 2019 14:50
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.

None yet

1 participant