mirror of
https://github.com/clearml/clearml-server
synced 2025-02-07 13:33:42 +00:00
7 lines
170 B
Python
7 lines
170 B
Python
|
from pymongo.database import Database, Collection
|
||
|
|
||
|
|
||
|
def migrate_auth(db: Database):
|
||
|
collection: Collection = db["user"]
|
||
|
collection.drop_index("name_1_company_1")
|