初始提交:添加分时处理
This commit is contained in:
parent
4efced3ec7
commit
d7d837241f
@ -111,6 +111,10 @@ CREATE TABLE `dner_hourly_power_outage_event`
|
||||
`extreme_wind_speed_hourly` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '小时内极大风速',
|
||||
`power_outage_duration` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '停电时长',
|
||||
`user_count` int(11) DEFAULT NULL COMMENT '停电影响用户总数',
|
||||
`restored_user_count` int(11) DEFAULT NULL COMMENT '已复电停电影响用户数',
|
||||
`not_restored_user_count` int(11) DEFAULT NULL COMMENT '未复电停电影响用户数',
|
||||
`fault_user_count` int(11) DEFAULT NULL COMMENT '故障停电影响用户总数',
|
||||
`scheduled_user_count` int(11) DEFAULT NULL COMMENT '计划停电影响用户数',
|
||||
`outage_state` tinyint(4) DEFAULT NULL COMMENT '停电状态(1-待停电;2-停电中;3-已复电)',
|
||||
`outage_type` tinyint(4) DEFAULT NULL COMMENT '停电类型(1-故障类;2-计划类)',
|
||||
`create_by` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '创建人',
|
||||
@ -230,10 +234,8 @@ create table dner_daily_power_outage_event_sync
|
||||
COLLATE = utf8mb4_unicode_ci COMMENT ='日K线停电事件同步记录表';
|
||||
|
||||
-- 区域气象数据
|
||||
create table regional_weather_data
|
||||
(
|
||||
id bigint unsigned auto_increment comment '主键ID'
|
||||
primary key,
|
||||
create table regional_weather_data(
|
||||
id bigint unsigned auto_increment comment '主键ID' primary key,
|
||||
org_code varchar(64) not null comment '地区编码',
|
||||
data_time varchar(64) not null comment '资料时次',
|
||||
hourly_precipitation varchar(255) null comment '小时降水量',
|
||||
@ -246,8 +248,5 @@ create table regional_weather_data
|
||||
create_time datetime default CURRENT_TIMESTAMP not null comment '创建时间',
|
||||
update_by varchar(64) null comment '修改人',
|
||||
update_time datetime default CURRENT_TIMESTAMP not null on update CURRENT_TIMESTAMP comment '修改时间'
|
||||
) ENGINE = InnoDB
|
||||
DEFAULT CHARSET = utf8mb4
|
||||
COLLATE = utf8mb4_unicode_ci
|
||||
comment '区域气象数据';
|
||||
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci comment '区域气象数据';
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user