新增目录和文件: - database/init.sql: 数据库初始化脚本(保留用于未来需求) - database/README.md: database 目录使用说明文档 database/ 目录用途: 1. 存放数据库初始化SQL脚本 2. 在Prisma migrations之后执行 3. 用于插入初始数据或设置序列号等 与Prisma的关系: - Prisma migrations: 创建表结构 - database/init.sql: 插入初始数据 Docker Compose集成: 可通过volume映射到/docker-entrypoint-initdb.d/自动执行 参考其他服务: - identity-service: 使用init.sql初始化序列号生成器 - mpc-service: 使用database/migrations存放迁移 当前状态: - init.sql已创建但为空(目前不需要初始数据) - 完整文档说明用途和使用方法 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api-gateway | ||
| mpc-system | ||
| services | ||