MarkAntipin

Results 3 comments of MarkAntipin

+1 I have almost the same issue. When I run `aerich init-db` on clean database (PostgresSQL), i get an error `tortoise.exceptions.ConfigurationError: No DB associated to model` , but the database...

Sorry, I didn't notice that adding ```aerich.models``` to the configuration is a required condition. But you don't think it's better to add it in the aerich itself? Most people add...

Yes, that's true, but you can add some kind of error, like: ``` if 'aerich.models' not in [m for model in tortoise_config['apps'].values() for m in model['models']]: raise ConfigurationError("You have to...