concrete/src/File/Image/Thumbnail/AtomicThumbnailStream.php
private function lockColumnsExist(Connection $db)
    {
        $schema = $db->getSchemaManager()->listTableColumns($this->table);
        return isset($schema['lockid']);
    }
private function lockColumnsExist(Connection $db)
    {
        $schema = $db->getSchemaManager()->listTableColumns($this->table);
        return isset($schema['lockid']);
    }
private function lockColumnsExist ( Connection $ db ) { $ schema = $ db -> getSchemaManager ( ) -> listTableColumns ( $ this -> table ) ; return isset ( $ schema [ 'lockid' ] ) ; }
Check if the required lock columns have been added to the database.
This prevents people upgrading from seeing 500 errors in their logs.

@param \Concrete\Core\Database\Connection\Connection $db
@return bool
Check if the required lock columns have been added to the database . This prevents people upgrading from seeing 500 errors in their logs .