diff options
| author | Ryan Mehri <[email protected]> | 2020-05-09 22:30:14 -0600 |
|---|---|---|
| committer | Ryan Mehri <[email protected]> | 2020-05-09 22:30:14 -0600 |
| commit | 4bb46084477c9f6fba93d84a7feea2ba63804362 (patch) | |
| tree | 1beda0f732febffec221b1d372b1dc75167900b1 /backend/db/schemas.go | |
| parent | Merge pull request #5 from jackyzha0/react (diff) | |
| download | ctrl-v-4bb46084477c9f6fba93d84a7feea2ba63804362.tar.xz ctrl-v-4bb46084477c9f6fba93d84a7feea2ba63804362.zip | |
Add title to post
Diffstat (limited to 'backend/db/schemas.go')
| -rw-r--r-- | backend/db/schemas.go | 1 |
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 } |