Documentation
¶
Overview ¶
Package dbschema owns SQL shared by application bootstrap and store startup. Keeping each definition here prevents CREATE IF NOT EXISTS from hiding incompatible definitions in independent entry points.
Index ¶
- func Bootstrap(ctx context.Context, db *sql.DB, tables []string) error
- func FlowStates(ctx context.Context, db *sql.DB) error
- func GatewayBookmarks(ctx context.Context, db *sql.DB) error
- func GatewayDelivery(ctx context.Context, db *sql.DB) error
- func GatewayInputHistory(ctx context.Context, db *sql.DB) error
- func Goals(ctx context.Context, db *sql.DB) error
- func Routines(ctx context.Context, db *sql.DB) error
- func Suspensions(ctx context.Context, db *sql.DB) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bootstrap ¶
Bootstrap applies shared-store upgrades (including goals and gateway state) and central tables atomically. Independent application stores retain their own separate migrations.
func FlowStates ¶
FlowStates is the independent daemon flow-state store, not agent_flows.
func GatewayBookmarks ¶
GatewayBookmarks and GatewayInputHistory share their owner locks and SQL with central bootstrap. GatewayDelivery is owned only by its store.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.