Add this code:
And then you can create table:
$this->bootstrap('db'); $db = $this->getResource('db'); Zend_Registry::set('db', $db);after
parent::__construct($application);in your bootstrap constructor.
And then you can create table:
$tableAuthSession = new Application_Model_DbTable_AuthSession();