@lark-apaas/coding-steering 0.1.9 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/coding-steering",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "Stack-specific steering content for miaoda-coding templates",
5
5
  "type": "module",
6
6
  "files": [
@@ -31,8 +31,8 @@ server/ # 符合 NestJS 项目基本规范
31
31
  │ ├── hello.controller.ts # controller 示例
32
32
  │ ├── hello.module.ts # module 示例
33
33
  │ └── hello.service.ts # service 示例(可选)
34
- ├── database/ # Drizzle ORM 数据库相关。表结构变更需走 npm run gen:db-schema 流程,不要手写 SQL DDL
35
- │ ├── schema.ts # Drizzle ORM 数据库 Schema 定义。必须从该文件导入数据库类型,禁止自行编写或修改 schema 文件 应通过 drizzle migration 生成。
34
+ ├── database/ # Drizzle ORM 数据库相关。表结构变更(DDL)用 `lark-cli apps +db-execute` 执行,再 npm run gen:db-schema 根据数据库重新生成 schema.ts
35
+ │ ├── schema.ts # Drizzle ORM 数据库 Schema 定义。必须从该文件导入数据库类型,禁止自行编写或修改 npm run gen:db-schema 根据数据库重新生成。
36
36
  └── common/ # 共享工具和接口
37
37
  │ ├── filters/ # 通用错误处理。
38
38
  │ ├── constants/ # 通用常量。