mirror of
https://github.com/gogs/gogs.git
synced 2025-12-24 01:00:00 +01:00
models: skip JSON for fields skipped by XORM
Reduce output JSON size by backup command
This commit is contained in:
@@ -30,7 +30,7 @@ type Notice struct {
|
||||
ID int64
|
||||
Type NoticeType
|
||||
Description string `xorm:"TEXT"`
|
||||
Created time.Time `xorm:"-"`
|
||||
Created time.Time `xorm:"-" json:"-"`
|
||||
CreatedUnix int64
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user