Skip to content

added migration for invalidating the client to trigger a revalidation [DO NOT MERGE]#2108

Open
junaidwarsivd wants to merge 1 commit intoopensrp:masterfrom
SoftmedTanzania:client-migration
Open

added migration for invalidating the client to trigger a revalidation [DO NOT MERGE]#2108
junaidwarsivd wants to merge 1 commit intoopensrp:masterfrom
SoftmedTanzania:client-migration

Conversation

@junaidwarsivd
Copy link
Copy Markdown

@ekigamba
Copy link
Copy Markdown
Contributor

Remove nexus.pentaho from the repositories in one of the build.gradle files so that the build stops failing at this point @junaidwarsivd

@ekigamba ekigamba requested a review from hilpitome January 23, 2023 09:11
Comment on lines +137 to +138
db.execSQL("UPDATE client Set validationStatus = 'Invalid'");
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is better to use constants for the field and field value in this query to limit mistakes

buildConfigField "int", "MAX_CONNECTION_TIMEOUT", '5'
buildConfigField "int", "MAX_READ_TIMEOUT", '5'
buildConfigField "int", "DATABASE_VERSION", '12'
buildConfigField "int", "DATABASE_VERSION", '13'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Label the PR to indicate the update is for DRC only

@ekigamba
Copy link
Copy Markdown
Contributor

Kindly fix the build errors

@junaidwarsivd junaidwarsivd changed the title added migration for invalidating the client to trigger a revalidation added migration for invalidating the client to trigger a revalidation [DO NOT MERGE] Jan 27, 2023
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.

3 participants