fix: move 'drop target_all_subtypes' after whx views
This commit is contained in:
1 parent
4aa09242ab
commit
929a385fdb
1 file changed
+17
-17
@@ -79,23 +79,6 @@ begin;
|
||||
end;
|
||||
$$ language plpgsql;
|
||||
|
||||
-- Replaces target_all_subtypes defined in 1/01_server_tags_migrations.up.sql
|
||||
drop view target_all_subtypes;
|
||||
create view target_all_subtypes as
|
||||
select public_id,
|
||||
project_id,
|
||||
name,
|
||||
description,
|
||||
default_port,
|
||||
session_max_seconds,
|
||||
session_connection_limit,
|
||||
version,
|
||||
create_time,
|
||||
update_time,
|
||||
worker_filter,
|
||||
'tcp' as type
|
||||
from target_tcp;
|
||||
|
||||
-- warehouse
|
||||
|
||||
-- Replaces whx_host_dimension_source defined in 26/02_wh_network_address_dimensions.up.sql.
|
||||
@@ -232,4 +215,21 @@ begin;
|
||||
and o.public_id = p.parent_id
|
||||
and o.type = 'org';
|
||||
|
||||
-- Replaces target_all_subtypes defined in 1/01_server_tags_migrations.up.sql
|
||||
drop view target_all_subtypes;
|
||||
create view target_all_subtypes as
|
||||
select public_id,
|
||||
project_id,
|
||||
name,
|
||||
description,
|
||||
default_port,
|
||||
session_max_seconds,
|
||||
session_connection_limit,
|
||||
version,
|
||||
create_time,
|
||||
update_time,
|
||||
worker_filter,
|
||||
'tcp' as type
|
||||
from target_tcp;
|
||||
|
||||
commit;
|
||||
Reference in new issue
Block a user