Skip to content

Commit

Permalink
fix(log_tables): move them to fct_create_querytables
Browse files Browse the repository at this point in the history
  • Loading branch information
mguzman14 committed Jan 17, 2025
1 parent 3e3a7e0 commit e886207
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions utils/fct/gw_fct_create_logtables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,6 @@ BEGIN
v_fprocessname = (SELECT UPPER(fprocess_name) FROM sys_fprocess where fid = v_fid);
v_project_type = (SELECT project_type FROM sys_version order by id desc limit 1);

-- create log tables
DROP TABLE IF EXISTS t_audit_check_data; CREATE TEMP TABLE t_audit_check_data (LIKE SCHEMA_NAME.audit_check_data INCLUDING ALL);
DROP TABLE IF EXISTS t_audit_check_project; CREATE TEMP TABLE t_audit_check_project (LIKE SCHEMA_NAME.audit_check_project INCLUDING ALL);
DROP TABLE IF EXISTS t_anl_node;CREATE TEMP TABLE t_anl_node (LIKE SCHEMA_NAME.anl_node INCLUDING ALL);
DROP TABLE IF EXISTS t_anl_arc; CREATE TEMP TABLE t_anl_arc (LIKE SCHEMA_NAME.anl_arc INCLUDING ALL);
DROP TABLE IF EXISTS t_anl_connec;CREATE TEMP TABLE t_anl_connec (LIKE SCHEMA_NAME.anl_connec INCLUDING ALL);
DROP TABLE IF EXISTS t_anl_polygon; CREATE TEMP TABLE t_anl_polygon (LIKE SCHEMA_NAME.anl_polygon INCLUDING ALL);

IF v_project_type = 'UD' THEN
DROP TABLE IF EXISTS t_anl_gully;CREATE TEMP TABLE t_anl_gully (LIKE SCHEMA_NAME.anl_gully INCLUDING ALL);
END IF;
Expand Down

0 comments on commit e886207

Please sign in to comment.