Function refuse_broken_foreign_keys
pub fn refuse_broken_foreign_keys(
conn: &Connection,
pre_tables: &HashSet<String>,
post: &[ReplicatedTableSchema],
) -> Result<(), BookkeepingError>Expand description
Refuse a DDL run that leaves a dangling foreign key or recreates a referenced table without its referenced key.