Skip to content

Commit

Permalink
Fix #19182: RBAC Migration failed when use oracle with oci8
Browse files Browse the repository at this point in the history
  • Loading branch information
Murolike authored Jan 21, 2022
1 parent ebb1d8b commit 437b0d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions framework/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Yii Framework 2 Change Log
2.0.45 under development
------------------------

- Bug #19182: RBAC Migration failed when use oracle with oci8 (Murolike)
- Bug #19138: Allow digits in language code (ntesic)
- Bug #19148: Fix undefined array key errors in `yii\db\ActiveRelationTrait` (stevekr)
- Bug #19041: Fix PHP 8.1 issues (longthanhtran, samdark, pamparam83, sartor, githubjeka)
Expand Down
2 changes: 1 addition & 1 deletion framework/rbac/migrations/m140506_102106_rbac_init.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ protected function isMSSQL()

protected function isOracle()
{
return $this->db->driverName === 'oci';
return $this->db->driverName === 'oci' || $this->db->driverName === 'oci8';
}

/**
Expand Down

0 comments on commit 437b0d5

Please sign in to comment.