mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 14:46:19 +08:00 
			
		
		
		
	Fixes #1509: The SQL for creating Postgres RBAC tables is incorrect
This commit is contained in:
		@ -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,
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user