mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 13:58:55 +08:00
Changed type column type from int to smallInt in RBAC migrations
Closes #11929
This commit is contained in:
@ -25,6 +25,7 @@ Yii Framework 2 Change Log
|
||||
- Bug #4113: Error page stacktrace was generating links to private methods which are not part of the API docs (samdark)
|
||||
- Bug #12879: Console progress bar was not working properly in Windows terminals (samdark, kids-return)
|
||||
- Enh #12881: Added `removeValue` method to `yii\helpers\BaseArrayHelper` (nilsburg)
|
||||
- Enh #11929: Changed `type` column type from `int` to `smallInt` in RBAC migrations (silverfire)
|
||||
|
||||
|
||||
2.0.10 October 20, 2016
|
||||
|
||||
@ -61,7 +61,7 @@ class m140506_102106_rbac_init extends \yii\db\Migration
|
||||
|
||||
$this->createTable($authManager->itemTable, [
|
||||
'name' => $this->string(64)->notNull(),
|
||||
'type' => $this->integer()->notNull(),
|
||||
'type' => $this->smallInteger()->notNull(),
|
||||
'description' => $this->text(),
|
||||
'rule_name' => $this->string(64),
|
||||
'data' => $this->text(),
|
||||
|
||||
@ -26,7 +26,7 @@ create table [auth_rule]
|
||||
create table [auth_item]
|
||||
(
|
||||
[name] varchar(64) not null,
|
||||
[type] integer not null,
|
||||
[type] smallint not null,
|
||||
[description] text,
|
||||
[rule_name] varchar(64),
|
||||
[data] text,
|
||||
|
||||
@ -26,7 +26,7 @@ create table `auth_rule`
|
||||
create table `auth_item`
|
||||
(
|
||||
`name` varchar(64) not null,
|
||||
`type` integer not null,
|
||||
`type` smallint not null,
|
||||
`description` text,
|
||||
`rule_name` varchar(64),
|
||||
`data` text,
|
||||
|
||||
@ -28,7 +28,7 @@ create table "auth_rule"
|
||||
create table "auth_item"
|
||||
(
|
||||
"name" varchar(64) not null,
|
||||
"type" integer not null,
|
||||
"type" smallint not null,
|
||||
"description" varchar(1000),
|
||||
"rule_name" varchar(64),
|
||||
"data" varchar(1000),
|
||||
|
||||
@ -26,7 +26,7 @@ create table "auth_rule"
|
||||
create table "auth_item"
|
||||
(
|
||||
"name" varchar(64) not null,
|
||||
"type" integer not null,
|
||||
"type" smallint not null,
|
||||
"description" text,
|
||||
"rule_name" varchar(64),
|
||||
"data" text,
|
||||
|
||||
@ -26,7 +26,7 @@ create table "auth_rule"
|
||||
create table "auth_item"
|
||||
(
|
||||
"name" varchar(64) not null,
|
||||
"type" integer not null,
|
||||
"type" smallint not null,
|
||||
"description" text,
|
||||
"rule_name" varchar(64),
|
||||
"data" text,
|
||||
|
||||
Reference in New Issue
Block a user