mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
fixed 修复唯一索引引发的数据操作失败
This commit is contained in:
parent
5c95be906e
commit
6c8ac608ae
@ -136,7 +136,6 @@ CREATE TABLE `auth_rule` (
|
|||||||
`auth` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '权限数值',
|
`auth` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '权限数值',
|
||||||
`status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '状态:为1正常,为0禁用',
|
`status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '状态:为1正常,为0禁用',
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
UNIQUE KEY `name` (`url`)
|
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='权限细节';
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='权限细节';
|
||||||
|
|
||||||
# Dump of table filter
|
# Dump of table filter
|
||||||
|
Loading…
x
Reference in New Issue
Block a user