Major Domo Database - PostgreSQL database service for SBA bot
Exclude 'creator' nested object from model_dump when creating custom commands. The issue was that Pydantic was including both creator_id and creator fields, causing Peewee to receive a nested dict that resulted in NULL creator_id values in the database insert, violating the NOT NULL constraint. This fix ensures only creator_id is passed to the ORM for foreign key mapping. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| app | ||
| migrations | ||
| scripts | ||
| test-storage | ||
| .dockerignore | ||
| .env | ||
| .gitignore | ||
| =2.9.0 | ||
| CLAUDE.md | ||
| db_engine.py | ||
| docker-compose.yml | ||
| Dockerfile | ||
| Dockerfile.optimized | ||
| LICENSE | ||
| main.py | ||
| migrations.py | ||
| pd_master.db | ||
| requirements.txt | ||