refactor: 重构 schemas 结构,统一枚举定义
This commit is contained in:
@@ -45,6 +45,10 @@ This file governs `backend/**` only. Keep it minimal, enforceable, and non-dupli
|
||||
- Use service-role DB access only in backend.
|
||||
- Soft delete uses `deleted_at`; reads must exclude deleted records by default.
|
||||
- Alembic is the only schema migration source of truth.
|
||||
- Database migrations use `./infra/scripts/dev-migrate.sh`:
|
||||
- `migrate` - run migrations only
|
||||
- `init-data` - seed data only
|
||||
- `bootstrap` - migrate + init-data
|
||||
|
||||
## Agent Runtime & Tools
|
||||
|
||||
|
||||
Reference in New Issue
Block a user