Changed used columns

This commit is contained in:
Profitroll 2022-12-10 15:52:07 +01:00
parent d6161515c1
commit 4e8fb00475

View File

@ -25,7 +25,7 @@ db = db_client.get_database(name=db_config["name"])
collections = db.list_collection_names()
for collection in ["users", "context", "messages", "warnings", "subscriptions"]:
for collection in ["users", "context", "messages", "warnings", "applications", "sponsorships"]:
if not collection in collections:
db.create_collection(collection)
@ -33,4 +33,5 @@ col_users = db.get_collection("users")
col_context = db.get_collection("context")
col_messages = db.get_collection("messages")
col_warnings = db.get_collection("warnings")
col_subscriptions = db.get_collection("subscriptions")
col_applications = db.get_collection("applications")
col_sponsorships = db.get_collection("sponsorships")