apply StyleCI recommendation
This commit is contained in:
parent
2b2b6f2e41
commit
58a235e068
@ -918,7 +918,7 @@ class Database extends AbstractData
|
|||||||
$supportsDropColumn = true;
|
$supportsDropColumn = true;
|
||||||
if ($this->_type === 'sqlite') {
|
if ($this->_type === 'sqlite') {
|
||||||
try {
|
try {
|
||||||
$row = $this->_select('SELECT sqlite_version() AS "v"', array(), true);
|
$row = $this->_select('SELECT sqlite_version() AS "v"', array(), true);
|
||||||
$supportsDropColumn = version_compare($row['v'], '3.35.0', '>=');
|
$supportsDropColumn = version_compare($row['v'], '3.35.0', '>=');
|
||||||
} catch (PDOException $e) {
|
} catch (PDOException $e) {
|
||||||
$supportsDropColumn = false;
|
$supportsDropColumn = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user