mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
modified 修改数据模型,完善sql文件
This commit is contained in:
parent
81d0ff6739
commit
2fc263fab7
@ -11,4 +11,5 @@ namespace app\admin\model;
|
||||
class Keys extends Base {
|
||||
protected $autoWriteTimestamp = true;
|
||||
protected $createTime = 'addTime';
|
||||
protected $updateTime = false;
|
||||
}
|
@ -181,8 +181,8 @@ CREATE TABLE `keys` (
|
||||
`description` varchar(50) NOT NULL DEFAULT '' COMMENT '当前Key的备注',
|
||||
`accessKey` varchar(64) NOT NULL DEFAULT '' COMMENT '公钥',
|
||||
`secretKey` varchar(64) NOT NULL DEFAULT '' COMMENT '私钥',
|
||||
`appId` int(11) NOT NULL COMMENT '适配App的ID',
|
||||
`filterId` int(11) NOT NULL COMMENT '适配过滤组的ID',
|
||||
`appId` int(11) NOT NULL DEFAULT '0' COMMENT '适配App的ID',
|
||||
`filterId` int(11) NOT NULL DEFAULT '0' COMMENT '适配过滤组的ID',
|
||||
`addTime` int(10) NOT NULL DEFAULT '0' COMMENT '创建时间戳',
|
||||
`status` tinyint(2) NOT NULL DEFAULT '1' COMMENT '秘钥状态',
|
||||
PRIMARY KEY (`id`)
|
||||
|
Loading…
x
Reference in New Issue
Block a user