Ensure FIELD definitions are not output two in SQL export

CLoses #16
This commit is contained in:
Tobie Morgan Hitchcock 2022-08-05 15:46:49 +01:00
parent 96225afb44
commit 863830cf3f

View file

@ -861,7 +861,7 @@ impl Transaction {
}
}
// Output INDEXS
let ixs = self.all_fd(ns, db, &tb.name).await?;
let ixs = self.all_ix(ns, db, &tb.name).await?;
if !ixs.is_empty() {
for ix in &ixs {
chn.send(bytes!(format!("{};", ix))).await?;