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

Fix entries returned by 'Custom Dashboard Entities created before EOL1 and modified after EOL1 in Prod' #805

Open
mahalakshme opened this issue Oct 11, 2024 · 1 comment

Comments

@mahalakshme
Copy link
Contributor

mahalakshme commented Oct 11, 2024

Process:

  • the last_modified_date_time for report cards was for APF prod was updated to '2024-09-26 15:21:31.657 +00:00'
  • So accordingly we can decide the last_modified_date_time - we can just add few minutes to the above time - randomise - so that same time not updated for all report cards and then update. We can go until only 18:30 since 27th is EOL.
  • Add the query script to data-fixes repo(comment the link in this card) when run each time - so that we can keep track of the last used date as last_modified_date_time
  • First time it can go thru' Code Review if needed.

AC:

  • Run for the entries shown in the report
@mahalakshme mahalakshme converted this from a draft issue Oct 11, 2024
@mahalakshme mahalakshme moved this from In Analysis to Ready in Avni Product Oct 11, 2024
@himeshr
Copy link
Contributor

himeshr commented Oct 11, 2024

For Uninhibited, have updated the lastModifiedDateTime for reportCards using below sql.

update report_card
set last_modified_date_time = '2024-09-26 15:21:31.657 +00:00'::timestamptz+ (random() * 1000 * (interval '1 millisecond'))
where id in (
        2987, 2983, 2990, 2984, 2989, 2986, 2985, 2988
    );

Max lastModifiedDateTime for Uninhibited org's reportCards is "2024-09-26 15:21:32.436 +00:00".

@mahalakshme mahalakshme moved this from Ready to Hold in Avni Product Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants