Skip to content

Add script to reset prospects hide flags#41

Merged
goldlabelapps merged 1 commit into
masterfrom
staging
Apr 2, 2026
Merged

Add script to reset prospects hide flags#41
goldlabelapps merged 1 commit into
masterfrom
staging

Conversation

@goldlabelapps
Copy link
Copy Markdown
Owner

Add app/api/prospects/database/reset_hide.py: a standalone script that sets all prospects.hide values to FALSE. It obtains a DB connection via get_db_connection(), executes an UPDATE, commits on success, rolls back on error, and ensures cursor/connection are closed. Includes a main guard for direct execution.

Add app/api/prospects/database/reset_hide.py: a standalone script that sets all prospects.hide values to FALSE. It obtains a DB connection via get_db_connection(), executes an UPDATE, commits on success, rolls back on error, and ensures cursor/connection are closed. Includes a __main__ guard for direct execution.
@goldlabelapps goldlabelapps marked this pull request as ready for review April 2, 2026 09:47
@goldlabelapps goldlabelapps self-assigned this Apr 2, 2026
@goldlabelapps goldlabelapps merged commit 21ed522 into master Apr 2, 2026
2 checks passed
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.

1 participant