mirror of
https://github.com/cf-sonr/dbx.git
synced 2026-01-12 02:59:13 +00:00
35 lines
862 B
YAML
35 lines
862 B
YAML
|
|
version: "2"
|
||
|
|
sql:
|
||
|
|
# Activity DB - User to User Interactions
|
||
|
|
- engine: "sqlite"
|
||
|
|
queries: "./activity/sink/query.sql"
|
||
|
|
schema: "./activity/sink/schema.sql"
|
||
|
|
gen:
|
||
|
|
go:
|
||
|
|
emit_interface: true
|
||
|
|
emit_json_tags: true
|
||
|
|
package: "activity"
|
||
|
|
out: "./activity"
|
||
|
|
|
||
|
|
# Network DB - Blockchain Parameters and Asset Metadata
|
||
|
|
- engine: "sqlite"
|
||
|
|
queries: "./network/sink/query.sql"
|
||
|
|
schema: "./network/sink/schema.sql"
|
||
|
|
gen:
|
||
|
|
go:
|
||
|
|
emit_interface: true
|
||
|
|
emit_json_tags: true
|
||
|
|
package: "network"
|
||
|
|
out: "./network"
|
||
|
|
|
||
|
|
# Users DB - Accounts, Profiles, and Vault Metadata
|
||
|
|
- engine: "sqlite"
|
||
|
|
queries: "./users/sink/query.sql"
|
||
|
|
schema: "./users/sink/schema.sql"
|
||
|
|
gen:
|
||
|
|
go:
|
||
|
|
emit_interface: true
|
||
|
|
emit_json_tags: true
|
||
|
|
package: "users"
|
||
|
|
out: "./users"
|