Skip to main content

ensure_table

Function ensure_table 

Source
pub async fn ensure_table(pool: &Pool) -> Result<(), ExecError>
Expand description

Create cms_analytics_event (+ its indexes) if absent. Idempotent; called per tenant at boot.

ยงErrors

Driver / DDL failures on the CREATE TABLE.