Skip to content

Commit

Permalink
More fixes to align with upstream 2.11.x branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
beberlei committed Oct 23, 2020
1 parent 4269b5e commit f5e8bcf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/Doctrine/DBAL/Exception/NoKeyValue.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Doctrine\DBAL\Exception;

use Doctrine\DBAL\Exception;
use Doctrine\DBAL\DBALException;

use function sprintf;

Expand All @@ -11,7 +11,7 @@
*
* @psalm-immutable
*/
final class NoKeyValue extends Exception
final class NoKeyValue extends DBALException
{
public static function fromColumnCount(int $columnCount): self
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Doctrine/DBAL/Platforms/SqlitePlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ protected function getPostAlterTableIndexForeignKeySQL(TableDiff $diff)
$fromTable = $diff->fromTable;

if (! $fromTable instanceof Table) {
throw new Exception(
throw new DBALException(
'Sqlite platform requires for alter table the table diff with reference to original table schema'
);
}
Expand Down

0 comments on commit f5e8bcf

Please sign in to comment.