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 Replace more db.DefaultContext (#27628) 2023-10-15 17:46:06 +02:00
main_test.go tests: improve actvititypub integration test code 2024-11-01 22:39:49 +01:00
notice.go Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
notice_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
setting.go fix: xorm:version default is inconsistent 2024-12-24 09:42:47 +01:00
setting_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00