index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
models
/
mirror.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
Unknwon <u@gogs.io>
2017-05-21 04:36:41 -0400
committer
Unknwon <u@gogs.io>
2017-05-21 04:36:41 -0400
commit
ce6e8ed8fe8bf82fef16996a7e0b90ce64755e08
(
patch
)
tree
59150762f9d8fde5fc1be56d4b704b5201aae641
/
models/mirror.go
parent
1755025e7f5e3b9b4fd46e37a5d74f8e192f7bd2
(
diff
)
models: remove redundant tags for primary keys
Diffstat
(limited to 'models/mirror.go')
-rw-r--r--
models/mirror.go
2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/mirror.go b/models/mirror.go
index 778632b4..f48e8efa 100644
--- a/
models/mirror.go
+++ b/
models/mirror.go
@@ -27,7 +27,7 @@ var MirrorQueue = sync.NewUniqueQueue(setting.Repository.MirrorQueueLength)
// Mirror represents mirror information of a repository.
type Mirror struct {
- ID int64 `xorm:"pk autoincr"`
+ ID int64
RepoID int64
Repo *Repository `xorm:"-"`
Interval int // Hour.