aboutsummaryrefslogtreecommitdiff
path: root/backend/db/schemas.go
diff options
context:
space:
mode:
authorJacky Zhao <[email protected]>2020-05-09 21:32:42 -0700
committerGitHub <[email protected]>2020-05-09 21:32:42 -0700
commit11dbd79c57ec1cd08f4753f5c5cc269db9317f5a (patch)
tree1beda0f732febffec221b1d372b1dc75167900b1 /backend/db/schemas.go
parentMerge pull request #5 from jackyzha0/react (diff)
parentAdd title to post (diff)
downloadctrl-v-11dbd79c57ec1cd08f4753f5c5cc269db9317f5a.tar.xz
ctrl-v-11dbd79c57ec1cd08f4753f5c5cc269db9317f5a.zip
Merge pull request #6 from jackyzha0/backend
Add title to post
Diffstat (limited to 'backend/db/schemas.go')
-rw-r--r--backend/db/schemas.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/db/schemas.go b/backend/db/schemas.go
index bdfa60c..62c5a11 100644
--- a/backend/db/schemas.go
+++ b/backend/db/schemas.go
@@ -12,4 +12,5 @@ type Paste struct {
Hash string
Content string
Expiry time.Time `bson:"expiry"`
+ Title string
}