column "sessionid" does not exist after upgrading from 0.0.8 to 0.1.0
After i upgraded from 0.0.8 to 0.1.0 in the Apps menu in Nextcloud 12.0.4 i get the following error message:
Doctrine\DBAL\Exception\InvalidFieldNameException: An exception occurred while executing 'SELECT deviceid FROM oc_phonetrack_points WHERE sessionid='c6c65df6c655ac3c166a0b8135737341' GROUP BY deviceid ;': SQLSTATE[42703]: Undefined column: 7 ERROR: column "sessionid" does not exist LINE 1: SELECT deviceid FROM oc_phonetrack_points WHERE sessionid='c... ^
/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php - line 128: Doctrine\DBAL\Driver\AbstractPostgreSQLDriver->convertException('An exception oc...', Object(Doctrine\DBAL\Driver\PDOException))
/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Statement.php - line 177: Doctrine\DBAL\DBALException driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOPgSql\Driver), Object(Doctrine\DBAL\Driver\PDOException), 'SELECT deviceid...', Array)
/owncloud/apps/phonetrack/controller/pagecontroller.php - line 138: Doctrine\DBAL\Statement->execute()
/owncloud/apps/phonetrack/controller/pagecontroller.php - line 220: OCA\PhoneTrack\Controller\PageController->adaptData()
[internal function] OCA\PhoneTrack\Controller\PageController->index()
/owncloud/lib/private/AppFramework/Http/Dispatcher.php - line 160: call_user_func_array(Array, Array)
/owncloud/lib/private/AppFramework/Http/Dispatcher.php - line 90: OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\PhoneTrack\Controller\PageController), 'index')
/owncloud/lib/private/AppFramework/App.php - line 114: OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\PhoneTrack\Controller\PageController), 'index')
/owncloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47: OC\AppFramework\App main('PageController', 'index', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)
[internal function] OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)
/owncloud/lib/private/Route/Router.php - line 299: call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)
/owncloud/lib/base.php - line 1004: OC\Route\Router->match('/apps/phonetrac...')
/owncloud/index.php - line 48: OC handleRequest()