Implemented Drop columns in importer

alfa1

Well-Known Member
Please add a function to the vb importer to automatically drop column vb_discussion_id in the table xf_thread & xf_post.

Its not possible to do this through phpmyadmin on a big board. And if the database server and file server are not the same then it can also not be done from the same ssh.

Or at least I don't know how to do this.
 
I keep running into this problem±

Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'vb_discussion_id' in 'field list' - library/Zend/Db/Statement/Mysqli.php:77
Generated By: Unknown Account, 2 minutes ago
Stack Trace
#0 /library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('????SELECT thre...')
#1 /library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '????SELECT thre...')
#2 /library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('????SELECT thre...')
#3 /library/Zend/Db/Adapter/Abstract.php(734): Zend_Db_Adapter_Abstract->query('????SELECT thre...', Array)
#4 /library/Nobita/Teams/Importer/CLI/Importer.php(157): Zend_Db_Adapter_Abstract->fetchAll('????SELECT thre...', Array)
#5 /library/Nobita/Teams/Importer/CLI/Importer.php(353): ThreadAndPost->import()
#6 {main}
Request State
array(3) {
["url"] => string(7) "http://"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
Back
Top