Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Add test seed data for webhook
天舟32de362f3b98
diff --git a/store/seed/test/10041__project_webhook.sql b/store/seed/test/10041__project_webhook.sqlnew file mode 100644index 0000000000..41c6a60c4f--- /dev/null+++ b/store/seed/test/10041__project_webhook.sql@@ -0,0 +1,130 @@+-- Project 3001 hook+INSERT INTO+ project_webhook (+ id,+ creator_id,+ updater_id,+ project_id,+ type,+ name,+ url,+ activity_list+ )+VALUES+ (+ 4101,+ 101,+ 101,+ 3001,+ 'bb.plugin.webhook.wecom',+ 'WeCom',+ 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=12345',+ 'bb.issue.create,bb.issue.status.update,bb.pipeline.task.status.update,bb.issue.field.update,bb.issue.comment.create'+ );++INSERT INTO+ project_webhook (+ creator_id,+ updater_id,+ project_id,+ type,+ name,+ url,+ activity_list+ )+VALUES+ (+ 101,+ 101,+ 3001,+ 'bb.plugin.webhook.dingtalk',+ 'DingTalk',+ 'https://oapi.dingtalk.com/robot/send?access_token=12345',+ 'bb.issue.create,bb.issue.status.update,bb.pipeline.task.status.update,bb.issue.field.update,bb.issue.comment.create'+ );++-- Project 3002 hook+INSERT INTO+ project_webhook (+ creator_id,+ updater_id,+ project_id,+ type,+ name,+ url,+ activity_list+ )+VALUES+ (+ 101,+ 101,+ 3002,+ 'bb.plugin.webhook.feishu',+ 'Feishu',+ 'https://open.feishu.cn/open-apis/bot/v2/hook/12345',+ 'bb.issue.create,bb.issue.status.update,bb.pipeline.task.status.update,bb.issue.field.update,bb.issue.comment.create'+ );++INSERT INTO+ project_webhook (+ creator_id,+ updater_id,+ project_id,+ type,+ name,+ url,+ activity_list+ )+VALUES+ (+ 101,+ 101,+ 3002,+ 'bb.plugin.webhook.slack',+ 'Slack',+ 'https://hooks.slack.com/services/12345',+ 'bb.issue.create,bb.issue.status.update,bb.pipeline.task.status.update,bb.issue.field.update,bb.issue.comment.create'+ );++-- Project 3003 hook+INSERT INTO+ project_webhook (+ creator_id,+ updater_id,+ project_id,+ type,+ name,+ url,+ activity_list+ )+VALUES+ (+ 101,+ 101,+ 3003,+ 'bb.plugin.webhook.discord',+ 'Discord',+ 'https://discord.com/api/webhooks/12345',+ 'bb.issue.create,bb.issue.status.update,bb.pipeline.task.status.update,bb.issue.field.update,bb.issue.comment.create'+ );++INSERT INTO+ project_webhook (+ creator_id,+ updater_id,+ project_id,+ type,+ name,+ url,+ activity_list+ )+VALUES+ (+ 101,+ 101,+ 3003,+ 'bb.plugin.webhook.teams',+ 'Teams',+ 'https://foo.webhook.office.com/webhookb2/12345',+ 'bb.issue.create,bb.issue.status.update,bb.pipeline.task.status.update,bb.issue.field.update,bb.issue.comment.create'+ );\ No newline at end of file