summaryrefslogtreecommitdiffstats
path: root/models/issue.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-20 16:04:56 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-20 16:04:56 -0400
commit06631ab91f5d84b48d6f71ac8eaf4df740ba0282 (patch)
tree8bfcccc57550c016b90a73fc57cc24942d508096 /models/issue.go
parent686348974b1a1f6f11cab5244df2362f99e0a124 (diff)
downloadgitea-06631ab91f5d84b48d6f71ac8eaf4df740ba0282.tar.gz
gitea-06631ab91f5d84b48d6f71ac8eaf4df740ba0282.zip
Basic admin data table, models changes
Diffstat (limited to 'models/issue.go')
-rw-r--r--models/issue.go19
1 files changed, 19 insertions, 0 deletions
diff --git a/models/issue.go b/models/issue.go
new file mode 100644
index 0000000000..c669d201f6
--- /dev/null
+++ b/models/issue.go
@@ -0,0 +1,19 @@
+// Copyright 2014 The Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
+
+package models
+
+type Issue struct {
+ Id int64
+ RepoId int64 `xorm:"index"`
+ PosterId int64
+}
+
+type PullRequest struct {
+ Id int64
+}
+
+type Comment struct {
+ Id int64
+}