Added support for peewee PostgresqlExtDatabase class