systemprompt-database 0.7.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
//! Repositories owned by the database crate itself.
//!
//! Only repositories that are part of the platform-level schema (services
//! registry, cleanup utilities, database introspection) live here. Domain
//! repositories live in their respective domain crates.

pub mod base;
pub mod cleanup;
pub mod info;
pub mod service;

pub use base::PgDbPool;
pub use cleanup::CleanupRepository;
pub use info::DatabaseInfoRepository;
pub use service::{CreateServiceInput, ServiceConfig, ServiceRepository};