aboutsummaryrefslogtreecommitdiff
path: root/backend/db/schemas.go
diff options
context:
space:
mode:
Diffstat (limited to 'backend/db/schemas.go')
-rw-r--r--backend/db/schemas.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/backend/db/schemas.go b/backend/db/schemas.go
index 62c5a11..4c73f82 100644
--- a/backend/db/schemas.go
+++ b/backend/db/schemas.go
@@ -8,9 +8,10 @@ import (
// Paste represents a single paste
type Paste struct {
- ID bson.ObjectId `bson:"_id,omitempty"`
- Hash string
- Content string
- Expiry time.Time `bson:"expiry"`
- Title string
+ ID bson.ObjectId `bson:"_id,omitempty"`
+ Hash string
+ Content string
+ Expiry time.Time `bson:"expiry"`
+ Title string
+ Password string
}