将 008_add_co_managed_wallet_fields.up.sql 改为幂等脚本: - 使用 DO $$ ... IF NOT EXISTS 检查列是否存在再添加 - 使用 CREATE INDEX IF NOT EXISTS 创建索引 - 使用 DROP CONSTRAINT IF EXISTS 删除约束 这确保迁移脚本可以安全地多次执行,不会因列/索引已存在而失败。 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .claude | ||
| api-gateway | ||
| infrastructure | ||
| mpc-system | ||
| scripts | ||
| services | ||
| .env.windows | ||
| docker-compose.windows.yml | ||