We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46c36e5 commit b7d2787Copy full SHA for b7d2787
models/user/spamreport.go
@@ -56,6 +56,10 @@ func (*SpamReport) TableName() string {
56
}
57
58
func init() {
59
+ // This table doesn't exist in the upstream code.
60
+ // We don't introduce migrations for it to avoid migration id clashes.
61
+ // Gitea will create the table in the database during startup,
62
+ // so no manual action is required until we start modifying the table.
63
db.RegisterModel(new(SpamReport))
64
65
0 commit comments