Files
motr/internal/db/sqlc.yaml
Prad Nukala 786fef8399 Implement Database Migrations (#12)
* feat: enhance modularity by relocating core packages

* refactor: move chart components to dashboard package

* refactor: restructure database access layer

* refactor: rename credential descriptor to credentials for clarity

* feat: enhance development environment configuration for database interactions

* feat: integrate go-task for database migrations

* feat: introduce middleware for market data and WebAuthn
2025-05-29 15:07:20 -04:00

35 lines
832 B
YAML

version: "2"
sql:
# Activity DB - User to User Interactions
- engine: "sqlite"
queries: "./activity/query.sql"
schema: "./activity/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/query.sql"
schema: "./network/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/query.sql"
schema: "./users/schema.sql"
gen:
go:
emit_interface: true
emit_json_tags: true
package: "users"
out: "./users"