insert fix checkpoint
This commit is contained in:
@ -791,12 +791,7 @@ impl Merger {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
let mut execute_order: Vec<String> = entity_type.hierarchy.clone();
|
for table_name in &entity_type.hierarchy {
|
||||||
if change_kind == "create" {
|
|
||||||
execute_order.reverse();
|
|
||||||
}
|
|
||||||
|
|
||||||
for table_name in execute_order {
|
|
||||||
let table_fields = match grouped_fields.get(&table_name).and_then(|v| v.as_array()) {
|
let table_fields = match grouped_fields.get(&table_name).and_then(|v| v.as_array()) {
|
||||||
Some(arr) => arr
|
Some(arr) => arr
|
||||||
.iter()
|
.iter()
|
||||||
|
|||||||
Reference in New Issue
Block a user