artemistomaras / django-ethereum-events

Ethereum Contract Event Log monitoring in Django
MIT License
47 stars 15 forks source link

no such table: django_ethereum_events_monitoredevent #9

Open DajeRoma opened 3 years ago

DajeRoma commented 3 years ago

I am using this lib for developing a defi application. When I run python3 manage.py migrate django_ethereum_events, I always get error messages like

Traceback (most recent call last):
  File "/Library/Python/3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "/Library/Python/3.8/site-packages/django/db/backends/sqlite3/base.py", line 423, in execute
    return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: no such table: django_ethereum_events_monitoredevent

I also tried to run python3 manage.py makemigrations or rm the db.sqlite3 file, but it does not work either. I wonder if anyone has seen such issue before.

artemistomaras commented 3 years ago

Please provide more information:

Thank you