Skip to content

feat:send activity log every 30 days#79

Merged
prashant4dev merged 4 commits intodhiway:mainfrom
prashant4dev:send_activity_log
Jul 3, 2025
Merged

feat:send activity log every 30 days#79
prashant4dev merged 4 commits intodhiway:mainfrom
prashant4dev:send_activity_log

Conversation

@prashant4dev
Copy link

No description provided.

Signed-off-by: Prashant Mutnale <prashant@dhiway.com>
@prashant4dev prashant4dev requested review from Vikastc and amarts July 2, 2025 06:39
Signed-off-by: Prashant Mutnale <prashant@dhiway.com>

# Query to fetch Creds created in the last 30 days
query = """
SELECT "id", "identifier", "active", "schemaId", "fromDid", "credHash", "created_at"
Copy link
Contributor

Choose a reason for hiding this comment

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

There are changes to the cred table , for e.g identifier is changed to credId.
Take a look at cordproof-2025 branch

Copy link
Author

@prashant4dev prashant4dev Jul 2, 2025

Choose a reason for hiding this comment

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

We can rebase this changes with the cordproof-2025
this changes are on top of main branch currently


# Print formatted results
print("{:<40}, {:<20}, {:<7}, {:<10}, {:<20}, {:<64}, {}".format(
"ID", "Identifier", "Active", "SchemaID", "FromDID", "CredHash", "CreatedAt"
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here , i have removed schemaId

Signed-off-by: Prashant Mutnale <prashant@dhiway.com>
@amarts
Copy link
Member

amarts commented Jul 2, 2025

looks good. can you share sample output?

@prashant4dev
Copy link
Author

looks good. can you share sample output?

Sure forwarded one mail

Signed-off-by: Prashant Mutnale <prashant@dhiway.com>
@prashant4dev prashant4dev merged commit b30453e into dhiway:main Jul 3, 2025
1 check passed
@prashant4dev prashant4dev deleted the send_activity_log branch July 3, 2025 08:31
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