提交
This commit is contained in:
1 parent
87f7f6bf38
commit
5c6ace1dd3
4683 files changed
+1149971
-33842
No files matched your search
@@ -1838,6 +1838,28 @@ CREATE TABLE `pl_cert` (
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for pl_ocr_usage_month
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `pl_ocr_usage_month`;
|
||||
CREATE TABLE `pl_ocr_usage_month` (
|
||||
`id` varchar(64) NOT NULL COMMENT '主键ID',
|
||||
`usage_month` varchar(7) NOT NULL COMMENT '自然月 YYYY-MM',
|
||||
`used_count` int(11) NOT NULL DEFAULT '0' COMMENT '当月已调用次数',
|
||||
`tenant_no` varchar(64) NOT NULL DEFAULT 'shanxia2.0' COMMENT '租户编号(配额按账号全局,不按租户拆分)',
|
||||
`order_num` int(11) DEFAULT NULL COMMENT '排序号',
|
||||
`remark` varchar(512) DEFAULT NULL COMMENT '备注',
|
||||
`create_by` varchar(64) DEFAULT NULL COMMENT '创建人id',
|
||||
`create_dept_id` varchar(64) NOT NULL DEFAULT '' COMMENT '创建人部门ID',
|
||||
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
`update_by` varchar(64) DEFAULT NULL COMMENT '更新人id',
|
||||
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
||||
`del_flag` smallint(6) NOT NULL DEFAULT '0' COMMENT '删除标记:0-正常 1-已删除',
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `uk_usage_month` (`usage_month`),
|
||||
KEY `idx_tenant` (`tenant_no`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='阿里云 OCR 月度调用计数';
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for pl_document_reminder
|
||||
-- ----------------------------
|
||||
|
||||
Reference in new issue
Block a user