Skip to main content

postgres_with_prefix

Function postgres_with_prefix 

Source
pub fn postgres_with_prefix(
    pool: PgPool,
    prefix: &str,
) -> Result<SqlStore, DbError>
Expand description

postgres, with every table and index name starting with prefix in place of rl_, so two apps sharing one database each keep a set of their own: up to 32 letters, digits, and underscores, not starting with a digit.