Skip to main content

followed_tables_sql

Function followed_tables_sql 

Source
pub fn followed_tables_sql() -> impl Iterator<Item = &'static str>
Expand description

The SQL that makes each table the app’s local triggers may follow, as every store makes it, coven_sync_status and coven_retry_effect with their one row. An app’s test that runs its own schema on a connection it opened itself, outside any store, runs these first, so its triggers on them apply and fire as in a store. Nothing of coven’s writes the tables there: the test writes the rows coven would.