systemprompt-database 0.2.2

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
pub mod base;
pub mod cleanup;
pub mod entity;
pub mod info;
pub mod service;

pub use base::PgDbPool;
pub use cleanup::CleanupRepository;
pub use entity::{Entity, EntityId, GenericRepository, RepositoryExt};
pub use info::DatabaseInfoRepository;
pub use service::{CreateServiceInput, ServiceConfig, ServiceRepository};