Closed Etomyutikos closed 4 years ago
Sometimes ForeignKeyRefs are being overwritten, or attributed to the wrong table, or other strange behavior. I have identified the cause and a fix is incoming.
https://github.com/gnormal/gnorm/blob/ba7b88881fd01feb3537c577fcf318704119fd6d/run/convert.go#L240
The above should be appending to refTable.ForeignKeyRefs, not table.ForeignKeyRefs.
refTable.ForeignKeyRefs
table.ForeignKeyRefs
Sometimes ForeignKeyRefs are being overwritten, or attributed to the wrong table, or other strange behavior. I have identified the cause and a fix is incoming.
https://github.com/gnormal/gnorm/blob/ba7b88881fd01feb3537c577fcf318704119fd6d/run/convert.go#L240
The above should be appending to
refTable.ForeignKeyRefs
, nottable.ForeignKeyRefs
.