systemprompt-database 0.69.0

PostgreSQL infrastructure for systemprompt.io AI governance. SQLx-backed pool, generic repository traits, and compile-time query verification. Part of the systemprompt.io AI governance pipeline.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Repositories owned by the database crate itself.
//!
//! Only repositories that are part of the platform-level schema (services
//! registry) live here. Domain repositories live in their
//! respective domain crates.
//!
//! Copyright (c) systemprompt.io — Business Source License 1.1.
//! See <https://systemprompt.io> for licensing details.

pub mod base;
pub mod service;

pub use base::PgDbPool;
pub use service::{
    CLAIM_DEAD_PEER_SECS, CreateServiceInput, INSTANCE_CLAIM_CLASS, InstanceClaim,
    InstanceClaimError, ServiceConfig, ServiceModule, ServiceRepository, ServiceStatus,
    UpsertServiceProcessInput,
};