systemprompt-database 0.21.1

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
//! Repositories owned by the database crate itself.
//!
//! Only repositories that are part of the platform-level schema (services
//! registry, cleanup utilities) 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 cleanup;
pub mod service;

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