|
@@ -12,8 +12,8 @@
|
|
| tar_id | varchar(512) | yes | null | 目标id | |
|
|
| tar_id | varchar(512) | yes | null | 目标id | |
|
|
| value | bigint | no | 0 | 行为值 | |
|
|
| value | bigint | no | 0 | 行为值 | |
|
|
| platform | smallint | yes | null | | |
|
|
| platform | smallint | yes | null | | |
|
|
-| create_time | timestamp | no | now | 创建时间 | |
|
|
|
|
-| update_time | timestamp | no | create_time | 修改时间 | | |
|
|
|
|
|
|
+| gmt_created | timestamp | no | now | 创建时间 | |
|
|
|
|
+| gmt_modified | timestamp | no | gmt_created | 修改时间 | | |
|
|
|
|
|
|
##### index
|
|
##### index
|
|
|
|
|
|
@@ -28,8 +28,8 @@ CREATE TABLE `lj_event_log` (
|
|
`tar_id` varchar(512) DEFAULT NULL COMMENT '目标id',
|
|
`tar_id` varchar(512) DEFAULT NULL COMMENT '目标id',
|
|
`value` bigint(20) DEFAULT 0 COMMENT '事件值',
|
|
`value` bigint(20) DEFAULT 0 COMMENT '事件值',
|
|
`platform` smallint(6) DEFAULT NULL COMMENT '播放平台 TV APP ...',
|
|
`platform` smallint(6) DEFAULT NULL COMMENT '播放平台 TV APP ...',
|
|
- `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
|
|
|
- `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
|
|
|
|
|
|
+ `gmt_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
|
|
|
+ `gmt_modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
|
|
PRIMARY KEY (`id`)
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
```
|
|
```
|