Skip to content

aerich giving error on inspectdb #215

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
AmmarAhmadKhan opened this issue Dec 7, 2021 · 1 comment
Closed

aerich giving error on inspectdb #215

AmmarAhmadKhan opened this issue Dec 7, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@AmmarAhmadKhan
Copy link

aerich is giving error while inspectdb is run for table having date field.

Traceback (most recent call last):
.......
.
.
.
.
File "......\venv\lib\site-packages\aerich\inspectdb.py", line 75, in inspect
field = self._field_template_mapping[column.data_type].format(
KeyError: 'DATE'

@AmmarAhmadKhan AmmarAhmadKhan changed the title aerich gicing error on inspectdb aerich giving error on inspectdb Dec 7, 2021
@long2ice long2ice added the bug Something isn't working label Dec 7, 2021
long2ice added a commit that referenced this issue Dec 8, 2021
@long2ice
Copy link
Member

long2ice commented Dec 8, 2021

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants