mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-04-08 02:31:36 +02:00
use uint16 HostPort in xorm mapping
This commit is contained in:
parent
9db8c15c6b
commit
f917b38d24
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ func MigrateNormalizedFederatedURI(x *xorm.Engine) error {
|
|||
ID int64 `xorm:"pk autoincr"`
|
||||
HostFqdn string `xorm:"host_fqdn UNIQUE INDEX VARCHAR(255) NOT NULL"`
|
||||
NodeInfo NodeInfo `xorm:"extends NOT NULL"`
|
||||
HostPort string `xorm:"NOT NULL DEFAULT '443'"`
|
||||
HostPort uint16 `xorm:"NOT NULL DEFAULT 443"`
|
||||
HostSchema string `xorm:"NOT NULL DEFAULT 'https'"`
|
||||
LatestActivity time.Time `xorm:"NOT NULL"`
|
||||
Created timeutil.TimeStamp `xorm:"created"`
|
||||
|
|
Loading…
Add table
Reference in a new issue