Skip to content

Conversation

ov
Copy link

@ov ov commented Jun 12, 2022

Here is the problem I have after upgrading to 1.23.6 from 1.23.5: if a field has a default:NULL option, it may get a result from the previous row when DB.Model().Find() is called. This happens with SQLite driver, I didn't test it with other drivers, as I don't have other databases here. The problem goes away if gorm version is switched to 1.23.5 in go.mod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant