Mr-乔木

Results 3 issues of Mr-乔木

> pymongo.errors.OperationFailure: The field 'alias' is not valid for an index specification. Specification: { key: { name: 1 }, unique: true, alias: null, name: "name_1" }

### What happened? ![image](https://user-images.githubusercontent.com/35053330/181220941-e637c642-dfcb-467b-848c-f2fd14f01115.png) ![image](https://user-images.githubusercontent.com/35053330/181221212-77a6fb8b-7bfb-4090-9eb3-0eca3d10a3d3.png) ### What did you expect to happen? can connect ### How can we reproduce it (as minimally and precisely as possible)? _No response_ ### Anything...

BUG
#triage/wait

When I execute aerich **init-db**, there is an error **tortoise.exceptions.ConfigurationError: No DB associated to model** ![image](https://user-images.githubusercontent.com/35053330/100078833-e9e83b80-2e7e-11eb-96b6-e43a32c3e04e.png) ![image](https://user-images.githubusercontent.com/35053330/100078910-02f0ec80-2e7f-11eb-9e8c-44ff9598846b.png)