Skip to content

Commit

Permalink
Release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
iamwildtuna committed Aug 1, 2021
1 parent 963b94a commit 4e49f2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"require": {
"php": "^7.2 || ^8.0",
"ext-pdo": "*",
"doctrine/dbal": "^2.10"
"doctrine/dbal": "^2.10 || ^3.0"
},
"autoload": {
"psr-0": {
Expand Down
4 changes: 3 additions & 1 deletion src/Platforms/CockroachPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ public function getIntegerTypeDeclarationSQL(array $column): string
}

public function getAdvancedForeignKeyOptionsSQL(ForeignKeyConstraint $foreignKey): string
{$query = '';
{
// Waiting for resolved https://github.com/cockroachdb/cockroach/issues/31632
$query = '';

if ($foreignKey->hasOption('match')) {
$query .= ' MATCH ' . $foreignKey->getOption('match');
Expand Down

0 comments on commit 4e49f2a

Please sign in to comment.