Update: 将子项目从 submodule 转为完整内容
- 移除 GovAI, nomifun-tauri, 算力盒子 的 submodule 引用 - 添加所有子项目的完整源代码 - 保留原始 .git 为 .git.bak 备份
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
version: "2"
|
||||
sql:
|
||||
- engine: "postgresql"
|
||||
queries: "pkg/db/queries/"
|
||||
schema: "migrations/"
|
||||
gen:
|
||||
go:
|
||||
package: "db"
|
||||
out: "pkg/db/generated"
|
||||
sql_package: "pgx/v5"
|
||||
emit_json_tags: true
|
||||
emit_empty_slices: true
|
||||
emit_pointers_for_null_types: true
|
||||
overrides:
|
||||
- db_type: "uuid"
|
||||
go_type: "github.com/google/uuid.UUID"
|
||||
- db_type: "timestamptz"
|
||||
go_type: "time.Time"
|
||||
- db_type: "jsonb"
|
||||
go_type: "json.RawMessage"
|
||||
import: "encoding/json"
|
||||
- db_type: "inet"
|
||||
go_type: "string"
|
||||
Reference in New Issue
Block a user