public function dropTable($tableName)
    {
        $this->db->query('SET FOREIGN_KEY_CHECKS = 0;');
        $this->db->query("DROP TABLE IF EXISTS `{$this->getTableNamePrefix($tableName)}`;");
        $this->db->query('SET FOREIGN_KEY_CHECKS = 1;');  
    }
public function dropTable($tableName)
    {
        $this->db->query('SET FOREIGN_KEY_CHECKS = 0;');
        $this->db->query("DROP TABLE IF EXISTS `{$this->getTableNamePrefix($tableName)}`;");
        $this->db->query('SET FOREIGN_KEY_CHECKS = 1;');  
    }
public function dropTable ( $ tableName ) { $ this -> db -> query ( 'SET FOREIGN_KEY_CHECKS = 0;' ) ; $ this -> db -> query ( "DROP TABLE IF EXISTS `{$this->getTableNamePrefix($tableName)}`;" ) ; $ this -> db -> query ( 'SET FOREIGN_KEY_CHECKS = 1;' ) ; }
Process the drop table base on the given table name.
Foreign key checks disable before processing the drop action and
enable it back again after the process.

@param  string  $tableName

@return void
Process the drop table base on the given table name . Foreign key checks disable before processing the drop action and enable it back again after the process .