diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2021-11-10 03:57:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-09 20:57:58 +0100 |
commit | 99b2858e628d92bba252be72def409af77af735b (patch) | |
tree | 56159cf10b271307911e6f01626c0c3efba789ab /models/migrations/v111.go | |
parent | b6b1e716654fec3b16d245ef65cf42e57e1bb5b6 (diff) | |
download | gitea-99b2858e628d92bba252be72def409af77af735b.tar.gz gitea-99b2858e628d92bba252be72def409af77af735b.zip |
Move unit into models/unit/ (#17576)
* Move unit into models/unit/
* Rename unit.UnitType as unit.Type
Diffstat (limited to 'models/migrations/v111.go')
-rw-r--r-- | models/migrations/v111.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v111.go b/models/migrations/v111.go index 95f0ec22dd..02624da66a 100644 --- a/models/migrations/v111.go +++ b/models/migrations/v111.go @@ -56,7 +56,7 @@ func addBranchProtectionCanPushAndEnableWhitelist(x *xorm.Engine) error { // VisibleTypePrivate Visible only for organization's members VisibleTypePrivate int = 2 - // UnitTypeCode is unit type code + // unit.UnitTypeCode is unit type code UnitTypeCode int = 1 // AccessModeNone no access |