Skip to main content

Module repository

Module repository 

Source
Expand description

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.

Re-exports§

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

Modules§

base
Shared pool alias for repository implementations.
cleanup
Periodic cleanup queries for orphaned rows and expired tokens.
service
Repository over the platform-wide services registry table.