Changed used columns
This commit is contained in:
parent
d6161515c1
commit
4e8fb00475
@ -25,7 +25,7 @@ db = db_client.get_database(name=db_config["name"])
|
|||||||
|
|
||||||
collections = db.list_collection_names()
|
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:
|
if not collection in collections:
|
||||||
db.create_collection(collection)
|
db.create_collection(collection)
|
||||||
|
|
||||||
@ -33,4 +33,5 @@ col_users = db.get_collection("users")
|
|||||||
col_context = db.get_collection("context")
|
col_context = db.get_collection("context")
|
||||||
col_messages = db.get_collection("messages")
|
col_messages = db.get_collection("messages")
|
||||||
col_warnings = db.get_collection("warnings")
|
col_warnings = db.get_collection("warnings")
|
||||||
col_subscriptions = db.get_collection("subscriptions")
|
col_applications = db.get_collection("applications")
|
||||||
|
col_sponsorships = db.get_collection("sponsorships")
|
Reference in New Issue
Block a user