-
Notifications
You must be signed in to change notification settings - Fork 25
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
Queries to fix duplicate privileges #746
Comments
@mahalakshme Will not do this part as per discussion in Avni product group |
@himeshr no Joy mentioned so, because of AC for his card. It will all work together correctly |
templateExpressionToGenerateUpdateScript.txt Used this to auto-generate the sql script for all org-sheets mentioned in this card's description. update script sheet |
the manually run script (created via this card) should only update is_voided (and get the db to a valid state where we can apply the constraint). Updating impl_version also here creates a circular dependency. the migration (in #721) will introduce the new impl_version column, mark all voided rows with impl_version 0 and add the constraint. |
Updated the script to not set the impl_version, and just retain 1 non-voided entry as part of the update script. |
Commands to find duplicate ids.txt |
Local testing on pre-release for "Mobile Creches" org was successful, with following sql commands executed and output recieved. |
For QA
|
|
Migration script available here |
Executed the group privileges updation script in production. |
https://avni.freshdesk.com/a/tickets/4053
AC:
Add query to update the impl_version of all voided(independent of allow is true or false) to 0 and non-voided to 1The text was updated successfully, but these errors were encountered: