Browse Source

Fix #19182: RBAC Migration failed when use oracle with oci8

tags/2.0.45
Roman 3 years ago committed by GitHub
parent
commit
437b0d51aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      framework/CHANGELOG.md
  2. 2
      framework/rbac/migrations/m140506_102106_rbac_init.php

1
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)

2
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';
}
/**

Loading…
Cancel
Save