diff --git a/framework/CHANGELOG.md b/framework/CHANGELOG.md index b255482..22feb9e 100644 --- a/framework/CHANGELOG.md +++ b/framework/CHANGELOG.md @@ -6,6 +6,7 @@ Yii Framework 2 Change Log - Bug #1446: Logging while logs are processed causes infinite loop (qiangxue) - Bug #1497: Localized view files are not correctly returned (mintao) +- Bug #1509: The SQL for creating Postgres RBAC tables is incorrect (qiangxue) - Bug: Fixed `Call to a member function registerAssetFiles() on a non-object` in case of wrong `sourcePath` for an asset bundle (samdark) - Enh #1293: Replaced Console::showProgress() with a better approach. See Console::startProgress() for details (cebe) - Enh #1406: DB Schema support for Oracle Database (p0larbeer, qiangxue) diff --git a/framework/yii/rbac/schema-pgsql.sql b/framework/yii/rbac/schema-pgsql.sql index 78dbb3d..bf9865f 100644 --- a/framework/yii/rbac/schema-pgsql.sql +++ b/framework/yii/rbac/schema-pgsql.sql @@ -20,10 +20,11 @@ create table "tbl_auth_item" "description" text, "biz_rule" text, "data" text, - primary key ("name"), - key "type" ("type") + primary key ("name") ); +create index tbl_auth_item_type_idx on "tbl_auth_item" ("type"); + create table "tbl_auth_item_child" ( "parent" varchar(64) not null,