修改容器化的配置
This commit is contained in:
parent
1fa3e16d06
commit
82407bc869
62
sql/wvp.sql
62
sql/wvp.sql
|
|
@ -523,38 +523,38 @@ create table IF NOT EXISTS wvp_jt_channel (
|
||||||
CREATE PROCEDURE `wvp_20240528`()
|
CREATE PROCEDURE `wvp_20240528`()
|
||||||
BEGIN
|
BEGIN
|
||||||
IF NOT EXISTS (SELECT column_name FROM information_schema.columns
|
IF NOT EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_media_server' and column_name = 'transcode_suffix')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_media_server' and column_name = 'transcode_suffix')
|
||||||
THEN
|
THEN
|
||||||
ALTER TABLE wvp_media_server ADD transcode_suffix character varying(255);
|
ALTER TABLE wvp_media_server ADD transcode_suffix character varying(255);
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_media_server' and column_name = 'type')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_media_server' and column_name = 'type')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_media_server
|
alter table wvp_media_server
|
||||||
add type character varying(50) default 'zlm';
|
add type character varying(50) default 'zlm';
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_media_server' and column_name = 'flv_port')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_media_server' and column_name = 'flv_port')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_media_server add flv_port integer;
|
alter table wvp_media_server add flv_port integer;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_media_server' and column_name = 'flv_ssl_port')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_media_server' and column_name = 'flv_ssl_port')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_media_server add flv_ssl_port integer;
|
alter table wvp_media_server add flv_ssl_port integer;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_media_server' and column_name = 'ws_flv_port')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_media_server' and column_name = 'ws_flv_port')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_media_server add ws_flv_port integer;
|
alter table wvp_media_server add ws_flv_port integer;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_media_server' and column_name = 'ws_flv_ssl_port')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_media_server' and column_name = 'ws_flv_ssl_port')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_media_server add ws_flv_ssl_port integer;
|
alter table wvp_media_server add ws_flv_ssl_port integer;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
@ -580,37 +580,37 @@ create table IF NOT EXISTS wvp_user_api_key (
|
||||||
CREATE PROCEDURE `wvp_20241222`()
|
CREATE PROCEDURE `wvp_20241222`()
|
||||||
BEGIN
|
BEGIN
|
||||||
IF EXISTS (SELECT column_name FROM information_schema.STATISTICS
|
IF EXISTS (SELECT column_name FROM information_schema.STATISTICS
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_device_channel' and INDEX_NAME = 'uk_wvp_device_channel_unique_device_channel')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_device_channel' and INDEX_NAME = 'uk_wvp_device_channel_unique_device_channel')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_device_channel drop index uk_wvp_device_channel_unique_device_channel;
|
alter table wvp_device_channel drop index uk_wvp_device_channel_unique_device_channel;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF EXISTS (SELECT column_name FROM information_schema.STATISTICS
|
IF EXISTS (SELECT column_name FROM information_schema.STATISTICS
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_device_channel' and INDEX_NAME = 'uk_wvp_unique_stream_push_id')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_device_channel' and INDEX_NAME = 'uk_wvp_unique_stream_push_id')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_device_channel drop index uk_wvp_unique_stream_push_id;
|
alter table wvp_device_channel drop index uk_wvp_unique_stream_push_id;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF EXISTS (SELECT column_name FROM information_schema.STATISTICS
|
IF EXISTS (SELECT column_name FROM information_schema.STATISTICS
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_device_channel' and INDEX_NAME = 'uk_wvp_unique_stream_proxy_id')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_device_channel' and INDEX_NAME = 'uk_wvp_unique_stream_proxy_id')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_device_channel drop index uk_wvp_unique_stream_proxy_id;
|
alter table wvp_device_channel drop index uk_wvp_unique_stream_proxy_id;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_device_channel' and column_name = 'data_type')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_device_channel' and column_name = 'data_type')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_device_channel add data_type integer not null;
|
alter table wvp_device_channel add data_type integer not null;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_device_channel' and column_name = 'data_device_id')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_device_channel' and column_name = 'data_device_id')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_device_channel add data_device_id integer not null;
|
alter table wvp_device_channel add data_device_id integer not null;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF EXISTS (SELECT column_name FROM information_schema.columns
|
IF EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_device_channel' and column_name = 'device_db_id')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_device_channel' and column_name = 'device_db_id')
|
||||||
THEN
|
THEN
|
||||||
update wvp_device_channel wdc INNER JOIN
|
update wvp_device_channel wdc INNER JOIN
|
||||||
(SELECT id, device_db_id from wvp_device_channel where device_db_id is not null ) ct on ct.id = wdc.id
|
(SELECT id, device_db_id from wvp_device_channel where device_db_id is not null ) ct on ct.id = wdc.id
|
||||||
|
|
@ -619,7 +619,7 @@ BEGIN
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF EXISTS (SELECT column_name FROM information_schema.columns
|
IF EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_device_channel' and column_name = 'stream_push_id')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_device_channel' and column_name = 'stream_push_id')
|
||||||
THEN
|
THEN
|
||||||
update wvp_device_channel wdc INNER JOIN
|
update wvp_device_channel wdc INNER JOIN
|
||||||
(SELECT id, stream_push_id from wvp_device_channel where stream_push_id is not null ) ct on ct.id = wdc.id
|
(SELECT id, stream_push_id from wvp_device_channel where stream_push_id is not null ) ct on ct.id = wdc.id
|
||||||
|
|
@ -628,7 +628,7 @@ BEGIN
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF EXISTS (SELECT column_name FROM information_schema.columns
|
IF EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_device_channel' and column_name = 'stream_proxy_id')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_device_channel' and column_name = 'stream_proxy_id')
|
||||||
THEN
|
THEN
|
||||||
update wvp_device_channel wdc INNER JOIN
|
update wvp_device_channel wdc INNER JOIN
|
||||||
(SELECT id, stream_proxy_id from wvp_device_channel where stream_proxy_id is not null ) ct on ct.id = wdc.id
|
(SELECT id, stream_proxy_id from wvp_device_channel where stream_proxy_id is not null ) ct on ct.id = wdc.id
|
||||||
|
|
@ -644,7 +644,7 @@ DROP PROCEDURE wvp_20241222;
|
||||||
CREATE PROCEDURE `wvp_20241231`()
|
CREATE PROCEDURE `wvp_20241231`()
|
||||||
BEGIN
|
BEGIN
|
||||||
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_stream_proxy' and column_name = 'relates_media_server_id')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_stream_proxy' and column_name = 'relates_media_server_id')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_stream_proxy add relates_media_server_id character varying(50);
|
alter table wvp_stream_proxy add relates_media_server_id character varying(50);
|
||||||
END IF;
|
END IF;
|
||||||
|
|
@ -657,19 +657,19 @@ DROP PROCEDURE wvp_20241231;
|
||||||
CREATE PROCEDURE `wvp_20250111`()
|
CREATE PROCEDURE `wvp_20250111`()
|
||||||
BEGIN
|
BEGIN
|
||||||
IF EXISTS (SELECT column_name FROM information_schema.STATISTICS
|
IF EXISTS (SELECT column_name FROM information_schema.STATISTICS
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_cloud_record' and INDEX_NAME = 'uk_stream_push_app_stream_path')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_cloud_record' and INDEX_NAME = 'uk_stream_push_app_stream_path')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_cloud_record drop index uk_stream_push_app_stream_path ;
|
alter table wvp_cloud_record drop index uk_stream_push_app_stream_path ;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF EXISTS (SELECT column_name FROM information_schema.columns
|
IF EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_cloud_record' and column_name = 'folder')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_cloud_record' and column_name = 'folder')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_cloud_record modify folder varchar(500) null;
|
alter table wvp_cloud_record modify folder varchar(500) null;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF EXISTS (SELECT column_name FROM information_schema.columns
|
IF EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_cloud_record' and column_name = 'file_path')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_cloud_record' and column_name = 'file_path')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_cloud_record modify file_path varchar(500) null;
|
alter table wvp_cloud_record modify file_path varchar(500) null;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
@ -683,19 +683,19 @@ DROP PROCEDURE wvp_20250111;
|
||||||
CREATE PROCEDURE `wvp_20250211`()
|
CREATE PROCEDURE `wvp_20250211`()
|
||||||
BEGIN
|
BEGIN
|
||||||
IF EXISTS (SELECT column_name FROM information_schema.STATISTICS
|
IF EXISTS (SELECT column_name FROM information_schema.STATISTICS
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_device' and column_name = 'keepalive_interval_time')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_device' and column_name = 'keepalive_interval_time')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_device change keepalive_interval_time heart_beat_interval integer after as_message_channel;
|
alter table wvp_device change keepalive_interval_time heart_beat_interval integer after as_message_channel;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_device' and column_name = 'heart_beat_count')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_device' and column_name = 'heart_beat_count')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_device add heart_beat_count integer;
|
alter table wvp_device add heart_beat_count integer;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_device' and column_name = 'position_capability')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_device' and column_name = 'position_capability')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_device add position_capability integer;
|
alter table wvp_device add position_capability integer;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
@ -710,35 +710,35 @@ CREATE PROCEDURE `wvp_20250312`()
|
||||||
BEGIN
|
BEGIN
|
||||||
DECLARE serverId VARCHAR(32) DEFAULT '你的服务ID';
|
DECLARE serverId VARCHAR(32) DEFAULT '你的服务ID';
|
||||||
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_device' and column_name = 'server_id')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_device' and column_name = 'server_id')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_device add server_id character varying(50);
|
alter table wvp_device add server_id character varying(50);
|
||||||
update wvp_device set server_id = serverId;
|
update wvp_device set server_id = serverId;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_media_server' and column_name = 'server_id')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_media_server' and column_name = 'server_id')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_media_server add server_id character varying(50);
|
alter table wvp_media_server add server_id character varying(50);
|
||||||
update wvp_media_server set server_id = serverId;
|
update wvp_media_server set server_id = serverId;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_stream_proxy' and column_name = 'server_id')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_stream_proxy' and column_name = 'server_id')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_stream_proxy add server_id character varying(50);
|
alter table wvp_stream_proxy add server_id character varying(50);
|
||||||
update wvp_stream_proxy set server_id = serverId;
|
update wvp_stream_proxy set server_id = serverId;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_cloud_record' and column_name = 'server_id')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_cloud_record' and column_name = 'server_id')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_cloud_record add server_id character varying(50);
|
alter table wvp_cloud_record add server_id character varying(50);
|
||||||
update wvp_cloud_record set server_id = serverId;
|
update wvp_cloud_record set server_id = serverId;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
IF not EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_platform' and column_name = 'server_id')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_platform' and column_name = 'server_id')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_platform add server_id character varying(50);
|
alter table wvp_platform add server_id character varying(50);
|
||||||
END IF;
|
END IF;
|
||||||
|
|
@ -752,19 +752,19 @@ DROP PROCEDURE wvp_20250312;
|
||||||
CREATE PROCEDURE `wvp_20250319`()
|
CREATE PROCEDURE `wvp_20250319`()
|
||||||
BEGIN
|
BEGIN
|
||||||
IF NOT EXISTS (SELECT column_name FROM information_schema.columns
|
IF NOT EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_device_channel' and column_name = 'gps_speed')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_device_channel' and column_name = 'gps_speed')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_device_channel add gps_speed double precision;
|
alter table wvp_device_channel add gps_speed double precision;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF NOT EXISTS (SELECT column_name FROM information_schema.columns
|
IF NOT EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_device_channel' and column_name = 'gps_altitude')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_device_channel' and column_name = 'gps_altitude')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_device_channel add gps_altitude double precision;
|
alter table wvp_device_channel add gps_altitude double precision;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
IF NOT EXISTS (SELECT column_name FROM information_schema.columns
|
IF NOT EXISTS (SELECT column_name FROM information_schema.columns
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_device_channel' and column_name = 'gps_direction')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_device_channel' and column_name = 'gps_direction')
|
||||||
THEN
|
THEN
|
||||||
alter table wvp_device_channel add gps_direction double precision;
|
alter table wvp_device_channel add gps_direction double precision;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
@ -778,12 +778,12 @@ DROP PROCEDURE wvp_20250319;
|
||||||
CREATE PROCEDURE `wvp_20250402`()
|
CREATE PROCEDURE `wvp_20250402`()
|
||||||
BEGIN
|
BEGIN
|
||||||
IF NOT EXISTS (SELECT column_name FROM information_schema.STATISTICS
|
IF NOT EXISTS (SELECT column_name FROM information_schema.STATISTICS
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_device_channel' and INDEX_NAME = 'data_type')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_device_channel' and INDEX_NAME = 'data_type')
|
||||||
THEN
|
THEN
|
||||||
create index data_type on wvp_device_channel (data_type);
|
create index data_type on wvp_device_channel (data_type);
|
||||||
END IF;
|
END IF;
|
||||||
IF NOT EXISTS (SELECT column_name FROM information_schema.STATISTICS
|
IF NOT EXISTS (SELECT column_name FROM information_schema.STATISTICS
|
||||||
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_device_channel' and INDEX_NAME = 'data_device_id')
|
WHERE TABLE_SCHEMA = 'wvp' and table_name = 'wvp_device_channel' and INDEX_NAME = 'data_device_id')
|
||||||
THEN
|
THEN
|
||||||
create index data_device_id on wvp_device_channel (data_device_id);
|
create index data_device_id on wvp_device_channel (data_device_id);
|
||||||
END IF;
|
END IF;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue