added support for 1 to 1 relations and added support for n unique key… #3
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ func deleteOneToManyConflictsBeforeMerge(tx boil.Executor, conflict conflictingU
|
||||||
// used in the delete query.
|
// used in the delete query.
|
||||||
colNames, err := rows.Columns()
|
colNames, err := rows.Columns()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
return errors.Err(err)
|
||||||
}
|
}
|
||||||
//Each row result of the query needs to be removed for being a conflicting row. Store each row's keys in an array.
|
//Each row result of the query needs to be removed for being a conflicting row. Store each row's keys in an array.
|
||||||
var rowsToRemove = [][]interface{}(nil)
|
var rowsToRemove = [][]interface{}(nil)
|
||||||
|
|
Loading…
Reference in a new issue