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

Sync for Centers #717

Merged
merged 1 commit into from
Jul 25, 2017
Merged

Sync for Centers #717

merged 1 commit into from
Jul 25, 2017

Conversation

mayank-kgp
Copy link
Contributor

@mayank-kgp mayank-kgp commented Jul 12, 2017

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 anything

  • If you have multiple commits please combine them into one commit by squashing them.

#716 #711 (Grammatical mistake removed)

@mayank-kgp mayank-kgp changed the title Sync for Centers Sync for Centers [WIP] Jul 12, 2017
@mayank-kgp mayank-kgp force-pushed the centersync branch 8 times, most recently from 7391819 to 5936df3 Compare July 13, 2017 00:14
@mayank-kgp mayank-kgp changed the title Sync for Centers [WIP] Sync for Centers Jul 13, 2017
@mayank-kgp
Copy link
Contributor Author

mayank-kgp commented Jul 13, 2017

@therajanmaurya @puneetkohli521 Please review it.

center_sync

@@ -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;
Copy link
Member

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> {
Copy link
Member

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.

@therajanmaurya
Copy link
Member

therajanmaurya commented Jul 15, 2017

@mayank-kgp I don't see any code that is syncing centre's groups and groups' clients.

@mayank-kgp mayank-kgp force-pushed the centersync branch 5 times, most recently from 7397da1 to 5ab8131 Compare July 17, 2017 22:30
@mayank-kgp
Copy link
Contributor Author

@therajanmaurya I have done the changes and updated the GIF.

@therajanmaurya therajanmaurya merged commit 1b87333 into openMF:master Jul 25, 2017
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