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

Delete presentation requests from orgbook wallet #26

Merged
merged 2 commits into from
Feb 23, 2023

Conversation

ianco
Copy link
Collaborator

@ianco ianco commented Feb 10, 2023

Script to delete records (and tags) from wallet

run as python delete_wallet_pres_reqs.py --id <id of a known pres req record>

options:

--count - just display the record count
--batch - number of records to delete per commit (max 1000)
--max - max number of records to delete todal

@ianco
Copy link
Collaborator Author

ianco commented Feb 10, 2023

@ianco
Copy link
Collaborator Author

ianco commented Feb 10, 2023

Run with env vars as:

ORGBOOK_WALLET_DB_HOST=<host> ORGBOOK_WALLET_DB_PORT=<port>  ORGBOOK_WALLET_DB_DATABASE=<db_name> ORGBOOK_WALLET_DB_USER=<user>  ORGBOOK_WALLET_DB_PASSWORD=<pwd> python delete_wallet_pres_reqs.py --id <rec_id> --count

... for example

@WadeBarnes WadeBarnes merged commit 5ca8f85 into bcgov:main Feb 23, 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.

2 participants