diff options
author | ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | 2020-10-06 15:43:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-06 15:43:28 +0800 |
commit | 2eaf1d693ae08c0312dd1f977f81675f418f3770 (patch) | |
tree | b42a26180e813918a05a676bd18e13a3a1bb73ec /internal/db/models.go | |
parent | a92d818aa35583594a6b3098f4e1e1f4edec17dd (diff) |
db: migrate access table to use GORM (#6371)
Diffstat (limited to 'internal/db/models.go')
-rw-r--r-- | internal/db/models.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/models.go b/internal/db/models.go index ac9cbe32..f80cad92 100644 --- a/internal/db/models.go +++ b/internal/db/models.go @@ -51,7 +51,7 @@ var ( func init() { legacyTables = append(legacyTables, new(User), new(PublicKey), new(TwoFactor), new(TwoFactorRecoveryCode), - new(Repository), new(DeployKey), new(Collaboration), new(Access), new(Upload), + new(Repository), new(DeployKey), new(Collaboration), new(Upload), new(Watch), new(Star), new(Follow), new(Action), new(Issue), new(PullRequest), new(Comment), new(Attachment), new(IssueUser), new(Label), new(IssueLabel), new(Milestone), |