pub type PostgresKeepsakeRepository<C = NoopRelationCache> = SqlxKeepsakeRepository<PostgresBackend, C>;Expand description
Postgres-backed keepsake repository.
Aliased Type§
pub struct PostgresKeepsakeRepository<C = NoopRelationCache> { /* private fields */ }Implementations§
Source§impl<C> PostgresKeepsakeRepository<C>where
C: RelationCache,
impl<C> PostgresKeepsakeRepository<C>where
C: RelationCache,
Sourcepub async fn migrate(&self) -> RepositoryResult<()>
pub async fn migrate(&self) -> RepositoryResult<()>
Runs embedded migrations.