chore: Enable comments for database dump / models (#3661)

This commit is contained in:
Mathias Fredriksson
2022-08-24 12:44:30 +00:00
committed by GitHub
parent 253e6cbffa
commit 7a71180ae6
4 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -360,7 +360,8 @@ type License struct {
ID int32 `db:"id" json:"id"`
UploadedAt time.Time `db:"uploaded_at" json:"uploaded_at"`
JWT string `db:"jwt" json:"jwt"`
Exp time.Time `db:"exp" json:"exp"`
// exp tracks the claim of the same name in the JWT, and we include it here so that we can easily query for licenses that have not yet expired.
Exp time.Time `db:"exp" json:"exp"`
}
type Organization struct {