index scores

This commit is contained in:
Bui 2022-02-17 23:07:12 +00:00
parent ebc3c79c75
commit 66e9491a5b

1
app.py
View File

@ -39,6 +39,7 @@ csrf = CSRFProtect(app)
db = client[config.MONGO['database']]
db.users.create_index('username', unique=True)
db.songs.create_index('id', unique=True)
db.scores.create_index('username')
class HashException(Exception):