===== Alpha Prime 增加字段的过程 ===== * 在 alpha-prime/models/xxx/ 中修改 yaml * 运行 run-java.sh * 得到 patch 文件后,在目标工程中,执行 git apply --reject /Users/plough/codes/infra/alpha-prime/patch/jetfire.patch * er.drawio 手动拷贝过来 * 新建一个 sql,叠加到原来的 sql 之上 ===== openapi client 更新后,升级前端依赖 ===== node update-apis.js ===== 定义嵌套的复杂字段(array of pojo) ===== 举例: unique-key.yaml: name: UniqueKey type: pojo fields: cols: type: array item: string 在 entity.yaml 中使用: uniqueKeys: type: array item: type: pojo from: ./unique-key.yaml