diff --git a/framework/CHANGELOG.md b/framework/CHANGELOG.md index c67f9d7..ba60ef4 100644 --- a/framework/CHANGELOG.md +++ b/framework/CHANGELOG.md @@ -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) diff --git a/framework/rbac/migrations/m140506_102106_rbac_init.php b/framework/rbac/migrations/m140506_102106_rbac_init.php index 1429486..467fa86 100644 --- a/framework/rbac/migrations/m140506_102106_rbac_init.php +++ b/framework/rbac/migrations/m140506_102106_rbac_init.php @@ -40,7 +40,7 @@ class m140506_102106_rbac_init extends \yii\db\Migration protected function isOracle() { - return $this->db->driverName === 'oci'; + return $this->db->driverName === 'oci' || $this->db->driverName === 'oci8'; } /**