func diffMissingColumns(dbColumns map[string]utils.Column, srcColumns []utils.Column) []utils.Column {
	if len(dbColumns) == 0 {
		return srcColumns
	}

	var missingColumns []utils.Column
	for _, srcCol := range srcColumns {
		if _, ok := dbColumns[srcCol.Name]; !ok {
			missingColumns = append(missingColumns, srcCol)
			continue
		}
	}
	return missingColumns
}
// diffMissingColumns filters srcColumns to the ones not present in dbColumns.
diffMissingColumns filters srcColumns to the ones not present in dbColumns.
// diffMissingColumns filters srcColumns to the ones not present in dbColumns .
func diffMissingColumns(dbColumns map[string]utils.Column, srcColumns []utils.Column) []utils.Column {
	if len(dbColumns) == 0 {
		return srcColumns
	}
	var missingColumns []utils.Column
	for _, srcCol := range srcColumns {
		if _, ok := dbColumns[srcCol.Name]; !ok {
			missingColumns = append(missingColumns, srcCol)
			continue
		}
	}
	return missingColumns
}
func diffMissingColumns ( dbColumns map [ string ] utils . Column , srcColumns [ ] utils . Column ) [ ] utils . Column { if len ( dbColumns ) == 0 { return srcColumns } var missingColumns [ ] utils . Column for _ , srcCol := range srcColumns { if _ , ok := dbColumns [ srcCol . Name ] ; ! ok { missingColumns = append ( missingColumns , srcCol ) continue } } return missingColumns }
diffMissingColumns filters srcColumns to the ones not present in dbColumns.
diffMissingColumns filters srcColumns to the ones not present in dbColumns .