feat: 开发采集、采集箱和商品编辑功能

This commit is contained in:
Joey
2026-08-15 22:17:26 +08:00
parent c61d1a3154
commit 36357843d0
130 changed files with 18005 additions and 12 deletions
+8
View File
@@ -0,0 +1,8 @@
"""共享列类型:JSONSQLite 存 TEXTPostgreSQL 存 JSON;跨库一致)。"""
from __future__ import annotations
from sqlalchemy import JSON
# 统一用 generic JSONSQLite/PostgreSQL 均可,避免 autogenerate 对 JSONB 变体渲染异常。
# 生产若需 JSONB 的索引能力,可再按需迁移,量级上差异可忽略。
JSONType = JSON