【代码评审】IoT:模拟设备发送的 review
This commit is contained in:
@@ -4,17 +4,17 @@
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="cn.iocoder.yudao.module.iot.dal.tdengine.TdThinkModelMessageMapper">
|
||||
|
||||
|
||||
<!-- 创建物模型消息日志超级表 -->
|
||||
<!-- TODO @芋艿:捉摸下字段,特别是 sys、ts 这种缩写 -->
|
||||
<update id="createSuperTable">
|
||||
CREATE STABLE ${dataBaseName}.${superTableName}(
|
||||
ts TIMESTAMP,
|
||||
id VARCHAR(255),
|
||||
sys VARCHAR(2048),
|
||||
method VARCHAR(255),
|
||||
params VARCHAR(2048)
|
||||
ts TIMESTAMP,
|
||||
id VARCHAR(255),
|
||||
sys VARCHAR(2048),
|
||||
method VARCHAR(255),
|
||||
params VARCHAR(2048)
|
||||
)TAGS (
|
||||
deviceKey VARCHAR(255)
|
||||
deviceKey VARCHAR(255)
|
||||
)
|
||||
</update>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user