feat: measure and display user quota (#72)

This commit is contained in:
Thomas Durieux
2021-09-06 14:53:42 +02:00
committed by GitHub
parent 91014fbae2
commit 20e8d533f4
9 changed files with 199 additions and 33 deletions

View File

@@ -46,8 +46,14 @@ const AnonymizedRepositorySchema = new Schema({
default: new Date(),
},
size: {
type: Number,
default: 0,
storage: {
type: Number,
default: 0,
},
file: {
type: Number,
default: 0,
},
},
});