chore(project-map): regenerate .pi-map artifacts across the repo
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
dir: scripts
|
||||
|
||||
## role
|
||||
Operational utility scripts for database maintenance and security management in containerized production environments.
|
||||
Provides operational utilities for database maintenance and security management in containerized deployments.
|
||||
## parent
|
||||
index: ./.pi-map.index.md
|
||||
map: ./.pi-map.md
|
||||
|
||||
+5
-5
@@ -4,14 +4,14 @@ dir: scripts
|
||||
index: scripts/.pi-map.index.md
|
||||
|
||||
## role
|
||||
Operational utility scripts for database maintenance and security management in containerized production environments.
|
||||
Provides operational utilities for database maintenance and security management in containerized deployments.
|
||||
## files
|
||||
- fix_ghost_migration.sh | Diagnoses a "ghost" Alembic migration issue by checking for orphaned migration files, database version state, and column existence in a production environment. | dep: bash, find, psql, grep
|
||||
- update_db_password.py | Securely update the PostgreSQL password for the 'headquarter' database user via a Docker container | exp: func:main() → None, call:getpass.getpass, call:print, call:sys.exit, call:subprocess.run, call:result.stdout.strip | dep: getpass, subprocess, sys
|
||||
- fix_ghost_migration.sh | Diagnoses a ghost Alembic migration issue by checking for orphaned migration files, current database version, column existence, and known migration heads. | dep: bash, find, psql, grep
|
||||
- update_db_password.py | Securely updates the PostgreSQL password for the 'headquarter' database user via a Docker container without exposing the password in shell history. | exp: func:main() → None, call:getpass.getpass, call:print, call:sys.exit, call:subprocess.run, call:result.stdout.strip | dep: getpass, subprocess, sys
|
||||
## arch
|
||||
Standalone imperative shell scripts and Python scripts using subprocess calls to Docker CLI for container orchestration, with direct database connectivity via SQLAlchemy/Alembic for schema introspection and PostgreSQL for credential updates.
|
||||
Shell and Python scripts using Docker exec for container interaction, environment variable injection for secrets management, and Alembic introspection for migration state diagnosis.
|
||||
## tags
|
||||
migration, ghost, update, password, database, fix, main, call:getpass.getpass
|
||||
migration, password, ghost, database, fix, main, call:getpass.getpass, call:print
|
||||
## symbols
|
||||
- main
|
||||
- call:getpass.getpass
|
||||
|
||||
Reference in New Issue
Block a user