forgejo/models/system
Earl Warren 2dc167cbb9
fix: xorm:version default is inconsistent
The following message is displayed when upgrading to Forgejo:

[W] Table system_setting Column version db default is , struct default is 1

The same message also shows when upgrading from Gitea 1.21 to Gitea 1.22.

It is fine for the version field to default to zero or NULL instead of one.
2024-12-24 09:42:47 +01:00
..
appstate.go
main_test.go
notice.go
notice_test.go
setting.go fix: xorm:version default is inconsistent 2024-12-24 09:42:47 +01:00
setting_test.go