aboutsummaryrefslogtreecommitdiff
path: root/pkg/model/quote.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/model/quote.go')
-rw-r--r--pkg/model/quote.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/model/quote.go b/pkg/model/quote.go
index 0ad89cf..1e397b8 100644
--- a/pkg/model/quote.go
+++ b/pkg/model/quote.go
@@ -14,6 +14,7 @@ type Quote struct {
Quote string `bun:",notnull"`
Approved bool
Archive bool
+ Rating int
CreatedAt time.Time `bun:",nullzero,notnull,default:current_timestamp"`
DeletedAt time.Time `bun:",soft_delete,nullzero"`
}