Hi,
I update phalcon version from 1.3.4 to 2.0.2 and a get this error
SQLSTATE[42P01]: Undefined table: 7 ERROR: relation "access_id_access_seq" does not exist
Trace:
#0 [internal function]: PDO->lastInsertId('access_id_acces...')
#1 [internal function]: Phalcon\Db\Adapter\Pdo->lastInsertId('access_id_acces...')
#2 [internal function]: Phalcon\Mvc\Model->_doLowInsert(Object(Phalcon\Mvc\Model\MetaData\Memory), Object(Phalcon\Db\Adapter\Pdo\Postgresql), Array, 'id_access')
#3 /home/ubuntu/workspace/aaaaa/app/library/local/Plugins/RegisterAccess.php(133): Phalcon\Mvc\Model->save()
#4 /home/ubuntu/workspace/aaaaa/app/library/local/Plugins/RegisterAccess.php(45): App\Library\Local\Plugins\RegisterAccess->register()
#5 [internal function]: App\Library\Local\Plugins\RegisterAccess->beforeDispatch(Object(Phalcon\Events\Event), Object(Phalcon\Mvc\Dispatcher), NULL)
#6 [internal function]: Phalcon\Events\Manager->fireQueue(Array, Object(Phalcon\Events\Event))
#7 [internal function]: Phalcon\Events\Manager->fire('dispatch:before...', Object(Phalcon\Mvc\Dispatcher))
#8 [internal function]: Phalcon\Dispatcher->dispatch()
#9 /home/ubuntu/workspace/aaaaa/app/library/local/Bootstrap.php(119): Phalcon\Mvc\Application->handle()
#10 /home/ubuntu/workspace/aaaaa/public/index.php(91): App\Library\Local\Bootstrap->run()
#11 {main}
It is the same program, same database, and worked perfect before the update.
what can be?
thanks