pub async fn ensure_schema(
pool: &SqlitePool,
table_name: &str,
) -> Result<(), OutboxError>Expand description
Apply the canonical SQLite outbox schema to the target database.
Intended for POCs, integration tests and local development.
Production deployments should run their own migration tooling against the
SQL rendered by Dialect::schema_ddl.
ยงErrors
OutboxError::Internaliftable_nameis not a valid identifier.OutboxError::Databaseif the connection or the DDL statement fails.