pymysql.err.OperationalError: (4091, "Unknown SEQUENCE: 'version_id_seq'")

Has anyone experienced this before? Seems to happen when I start creating new DocTypes.

Hello,
i get this error too after upgrade from v13 to v14 and restoring my v13 database. Looking for a solution too.