keredson / peewee-db-evolve

Automatic migrations for the Peewee ORM.
GNU Lesser General Public License v3.0
126 stars 26 forks source link

Error: can't adapt type 'ModelBase' #53

Closed alvarolorentedev closed 2 years ago

alvarolorentedev commented 3 years ago
Making updates to database: models
[2020-11-18 10:45:34 +0100] [8028] [ERROR] Exception in worker process
Traceback (most recent call last):
  File ".../models/.venv/lib/python3.8/site-packages/peewee.py", line 3129, in execute_sql
    cursor.execute(sql, params or ())
psycopg2.ProgrammingError: can't adapt type 'ModelBase'

i am getting the next error not sure how to work around it :( . Have you seen it before?

alvarolorentedev commented 2 years ago

Staled