Skip to content

Commit

Permalink
Merge pull request #67 from Bidaya0/insert-go-sql
Browse files Browse the repository at this point in the history
add sql with go agent
  • Loading branch information
Bidaya0 authored Dec 30, 2021
2 parents 342e512 + d55ee8d commit c18ac00
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mysql/update-20211230-release-1.2.0.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS=0;

INSERT IGNORE INTO `iast_hook_type` ( `type`, `name`, `value`, `create_time`, created_by, enable, update_time, name_en, name_zh, language_id, strategy_id) SELECT `type`, `name`, `value`, `create_time`, created_by, enable, update_time, name_en, name_zh, @IAST_LANGUAGE_ID, strategy_id FROM `iast_hook_type` WHERE type IN (3, 4) AND language_id = 1 AND created_by = 1;
INSERT INTO iast_program_language (id, name) VALUES(4, 'Go');

DELETE FROM iast_hook_strategy_type
WHERE hookstrategy_id IN
(SELECT id FROM iast_hook_strategy ihs
Expand Down

0 comments on commit c18ac00

Please sign in to comment.