Commit 6696bb79 by 王欣伟

取消设备绑定日志表,共用d_vehicle_log表

1 parent efd0561e
......@@ -98,17 +98,3 @@ ALTER TABLE `t_device_power`
ADD INDEX idx_sn (`sn`);
ALTER TABLE `t_device_power`
ADD INDEX idx_vd_id (`vd_id`);
#设备换绑纪录表
CREATE TABLE `t_vehicle_device_bindlog` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
`vd_id` int(11) DEFAULT NULL COMMENT '设备绑定ID',
`operate_type` int(2) DEFAULT NULL COMMENT '操作类型(1:绑定;2:解绑)',
`remarks` varchar(512) DEFAULT NULL COMMENT '备注',
`del_flag` int(2) DEFAULT NULL COMMENT '删除状态',
`created_date` datetime DEFAULT NULL COMMENT '创建时间',
`created_by` int(11) DEFAULT NULL COMMENT '创建人',
`updated_date` datetime DEFAULT NULL COMMENT '更新时间',
`updated_by` int(11) DEFAULT NULL COMMENT '更新人',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='车辆设备换绑记录表';
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!