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
New migration API #1239
Closed
Closed
New migration API #1239
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Conflicts: realm/src/androidTest/java/io/realm/RealmMigrationTests.java
Conflicts: realm/src/androidTest/java/io/realm/RealmMigrationTests.java realm/src/main/java/io/realm/Realm.java realm/src/main/java/io/realm/RealmMigration.java realm/src/main/java/io/realm/internal/Group.java
Conflicts: examples/realmModuleExample/app/src/main/java/io/realm/examples/appmodules/model/Spider.java realm/src/androidTest/java/io/realm/RealmConfigurationTest.java realm/src/main/java/io/realm/Realm.java realm/src/main/java/io/realm/internal/migration/MigrationController.java realm/src/main/java/io/realm/internal/migration/SetVersionNumberMigration.java
commit c67825e5541d33b1664b62ee7816d9a810f09ad4 Author: Christian Melchior <christian@ilios.dk> Date: Wed Jun 17 09:25:32 2015 +0200 Unit test made more readable. commit f5cc85b Author: Christian Melchior <christian@ilios.dk> Date: Tue Jun 16 22:36:41 2015 +0200 Move error checking to JNI commit e38411d Author: Christian Melchior <christian@ilios.dk> Date: Mon Jun 15 16:33:41 2015 +0200 Split Row into checked and unchecked version. commit b0566e0 Merge: 77fb8ac e6256c0 Author: Christian Melchior <christian@ilios.dk> Date: Fri Jun 12 15:09:57 2015 +0200 Merge branch 'cm-dynamic-api' of https://github.com/realm/realm-java into cm-dynamic-api commit 77fb8ac Author: Christian Melchior <christian@ilios.dk> Date: Fri Jun 12 15:09:35 2015 +0200 Newline after method commit e6256c0 Author: Christian Melchior <christian@ilios.dk> Date: Fri Jun 12 15:08:42 2015 +0200 Duplicate new lines commit 84bf1a2 Author: Christian Melchior <christian@ilios.dk> Date: Fri Jun 12 15:07:22 2015 +0200 PR feedback commit 48321fc Merge: 989507c 5094622 Author: Christian Melchior <christian@ilios.dk> Date: Fri Jun 12 14:59:03 2015 +0200 Merge branch 'master' into cm-dynamic-api commit 989507c Author: Christian Melchior <christian@ilios.dk> Date: Wed Jun 10 10:15:34 2015 +0200 Renamed column -> field. Added constants. Other small fixes. commit c138313 Merge: 46464cf e24c90a Author: Christian Melchior <christian@ilios.dk> Date: Tue Jun 9 15:20:49 2015 +0200 Merge branch 'master' into cm-dynamic-api commit 46464cf Author: Christian Melchior <christian@ilios.dk> Date: Tue Jun 9 15:20:19 2015 +0200 Added dynamic object/list + tests.
Conflicts: realm-jni/src/io_realm_internal_CheckedRow.cpp realm-jni/src/io_realm_internal_CheckedRow.h realm-jni/src/io_realm_internal_UncheckedRow.cpp realm/src/androidTest/java/io/realm/internal/JNIRowTest.java realm/src/main/java/io/realm/Realm.java realm/src/main/java/io/realm/internal/CheckedRow.java realm/src/main/java/io/realm/internal/LinkView.java realm/src/main/java/io/realm/internal/Row.java realm/src/main/java/io/realm/internal/Table.java
Replace constants with enums
Conflicts: realm/src/main/java/io/realm/RealmQuery.java realm/src/main/java/io/realm/internal/TableView.java
Conflicts: realm/src/main/java/io/realm/Realm.java realm/src/main/java/io/realm/dynamic/DynamicRealmObject.java
Conflicts: realm/src/androidTest/java/io/realm/RealmTest.java realm/src/main/java/io/realm/BaseRealm.java realm/src/main/java/io/realm/DynamicRealmObject.java realm/src/main/java/io/realm/Realm.java realm/src/main/java/io/realm/RealmQuery.java realm/src/main/java/io/realm/internal/SharedGroup.java
…Refactored RealmResults to use factory constructors.
Conflicts: realm/src/main/java/io/realm/BaseRealm.java
Conflicts: realm/src/main/java/io/realm/RealmQuery.java
Conflicts: realm/src/androidTest/java/io/realm/RealmMigrationTests.java realm/src/main/java/io/realm/Realm.java realm/src/main/java/io/realm/RealmMigration.java realm/src/main/java/io/realm/internal/Group.java realm/src/main/java/io/realm/internal/Table.java
This is being superseded by a new PR against the Dynamic/Migration feature branch instead of against master. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This depends on #1200
This PR adds the new Migration API. It introduces a breaking change as the Migration interface has changed. It also introduces 2 new classes: RealmSchema and RealmObjectSchema. The interface for those methods are below and should hopefully be mostly self explanatory (that was the whole point :) )
Missing: