ferrero-opentext/Python-Version/scripts/shared/__pycache__
DJP 92ad76faae Add comprehensive database schema documentation - DATABASE_SCHEMA.md
Created complete database reference guide:

Schema Documentation:
 Full table definitions (master_assets, derivative_assets)
 All column descriptions with types and purposes
 Index definitions and purposes
 Foreign key constraints
 Trigger definitions

Migration History:
 Session 1: Initial setup
 Session 2: Add full_metadata JSONB (Oct 30)
 Session 3: Add global_master_campaign_id and global_master_folder_id (Nov 3)
 Complete migration SQL for each change
 Before/after comparison
 Impact assessment

Column Reference Table:
 All 30+ columns documented
 Data types and nullability
 Default values
 Purpose and usage notes
 Highlights new columns with 

Query Examples:
 Common queries (recent assets, by tracking ID, etc.)
 Global Master relationship queries
 Campaign completion checks
 Statistics and reporting queries
 Dashboard queries

Operations:
 Backup and restore procedures
 Maintenance tasks (VACUUM, size checks)
 Performance optimization
 Security and permissions
 Troubleshooting guide

Key Features Documented:
- full_metadata JSONB (no truncation!)
- global_master_campaign_id (campaign relationships)
- global_master_folder_id (folder tracking)
- Tracking ID system
- Connection pooling
- Index strategy

Ready for production deployment with complete DB documentation!

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 10:24:44 -05:00
..
__init__.cpython-314.pyc Fix boxsdk version and add .env file 2025-10-30 17:09:49 -04:00
box_client.cpython-314.pyc Fix Box metadata template name - Use correct lowercase name and field names 2025-11-03 14:34:17 -05:00
config_loader.cpython-314.pyc Fix boxsdk version and add .env file 2025-10-30 17:09:49 -04:00
dam_client.cpython-314.pyc Add B2→B1 reset buttons to debug Global campaigns view and fix log message 2025-11-03 13:56:41 -05:00
database.cpython-314.pyc Add comprehensive database schema documentation - DATABASE_SCHEMA.md 2025-11-04 10:24:44 -05:00
filename_parser.cpython-314.pyc Change webhook receiver port from 5000 to 5555 to avoid conflicts 2025-10-30 19:12:00 -04:00
metadata_extractor_mvp.cpython-314.pyc Add PROJECT_STATUS_2025-11-03.md and update README - Complete session documentation 2025-11-03 15:13:59 -05:00
notifier.cpython-314.pyc Add B1→B2 email templates and remove webhook from B1→B2 workflow 2025-11-03 14:04:14 -05:00