mirror of
https://github.com/clearml/clearml-server
synced 2025-03-03 02:33:02 +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")
|