Skip to content

Commit

Permalink
Merge pull request #7187 from GawainLynch/hotfix/dbal-sqlite
Browse files Browse the repository at this point in the history
[3.4] Cope with more DBAL breakage
  • Loading branch information
bobdenotter committed Nov 20, 2017
2 parents 51f7616 + c67f860 commit 9add9f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Storage/Database/Schema/Comparison/Sqlite.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ class Sqlite extends BaseComparator
*/
protected function setIgnoredChanges()
{
if (DBAL\Version::compare('2.6.0') >= 0) {
if (DBAL\Version::compare('2.7.0') >= 0) {
/** @deprecated Drop when minimum PHP version is 7.1 or greater. */
$this->ignoredChanges[] = new IgnoredChange('changedColumns', 'type', 'text', 'json');
$this->ignoredChanges[] = new IgnoredChange('changedColumns', 'type', 'text', 'json_array');
$this->ignoredChanges[] = new IgnoredChange('changedColumns', 'type', 'string', 'guid');
$this->ignoredChanges[] = new IgnoredChange('changedColumns', 'type', 'json', 'string');
}
}

Expand Down

0 comments on commit 9add9f7

Please sign in to comment.