Skip to main content

test_synced_tables

Function test_synced_tables 

Source
pub fn test_synced_tables() -> Vec<SyncedTable>
Expand description

The synthetic store’s schema and Database constructors, which the database layer owns and its own tests open directly. The synthetic, domain-free schema the sync tests run against. Three synced tables exercising the engine’s generic mechanics: a gated root (notes, gated by its shared boolean), a child with a foreign key (note_tags, which inherits the gate and exercises FK-violation retry), and a child that CAN carry a blob (note_photos, also FK-to-notes, so it inherits the gate). note_photos carries no blob here; blob tests declare one with test_synced_tables_with_blob.