-
Notifications
You must be signed in to change notification settings - Fork 617
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
Sync for Centers #717
Sync for Centers #717
Conversation
7391819
to
5936df3
Compare
@therajanmaurya @puneetkohli521 Please review it. |
@@ -12,5 +18,49 @@ | |||
public static final String NAME = "Mifos"; | |||
|
|||
//Always Increase the Version Number | |||
public static final int VERSION = 2; | |||
public static final int VERSION = 3; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mayank-kgp you don't need to increase the DB version every time.
public static final int VERSION = 3; | ||
|
||
@Migration(version = MifosDatabase.VERSION, database = MifosDatabase.class) | ||
public static class Migration1 extends AlterTableMigration<LoanAccount> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mayank-kgp don't make add migration classes here. Add new package directory database
with name migrationversion2
and add all migration classes there.
@mayank-kgp I don't see any code that is syncing centre's groups and groups' clients. |
7397da1
to
5ab8131
Compare
@therajanmaurya I have done the changes and updated the GIF. |
Please make sure these boxes are checked before submitting your pull request - thanks!
Apply the
MifosStyle.xml
style template to your code in Android Studio.Run the unit tests with
./gradlew check
to make sure you didn't break anythingIf you have multiple commits please combine them into one commit by squashing them.
#716 #711 (Grammatical mistake removed)