Skip to content

Commit b20405c

Browse files
committed
chore(search): finalize migration and validation artifacts
1 parent 2942439 commit b20405c

7 files changed

Lines changed: 11 additions & 31954 deletions

File tree

‎apps/docs/content/docs/integrations/jira.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ Sim requests these scopes when someone connects a Jira account. For a self-hoste
2929
| `read:jira-user` | View Jira user profiles, including email addresses |
3030
| `read:jira-work` | View Jira projects and issues, and search issues |
3131
| `write:jira-work` | Create, edit, and delete Jira issues, comments, and worklogs |
32-
| `write:sprint:jira-software` | Create and update Jira Software sprints |
3332
| `read:me` | Read profile information |
3433
| `offline_access` | Access account when not using the application |
3534
| `read:issue.vote:jira` | Read Jira issue votes |
@@ -68,6 +67,7 @@ Sim requests these scopes when someone connects a Jira account. For a self-hoste
6867
| `read:cmdb-schema:jira` | View Assets object schemas |
6968
| `read:cmdb-type:jira` | View Assets object types |
7069
| `read:cmdb-attribute:jira` | View Assets object type attributes |
70+
| `write:sprint:jira-software` | Create and update Jira Software sprints |
7171

7272
## Use the block [#usage-instructions]
7373

‎apps/docs/content/docs/integrations/jira_service_management.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ Sim requests these scopes when someone connects a Jira account. For a self-hoste
2727
| `read:jira-user` | View Jira user profiles, including email addresses |
2828
| `read:jira-work` | View Jira projects and issues, and search issues |
2929
| `write:jira-work` | Create, edit, and delete Jira issues, comments, and worklogs |
30-
| `write:sprint:jira-software` | Create and update Jira Software sprints |
3130
| `read:me` | Read profile information |
3231
| `offline_access` | Access account when not using the application |
3332
| `read:issue.vote:jira` | Read Jira issue votes |
@@ -66,6 +65,7 @@ Sim requests these scopes when someone connects a Jira account. For a self-hoste
6665
| `read:cmdb-schema:jira` | View Assets object schemas |
6766
| `read:cmdb-type:jira` | View Assets object types |
6867
| `read:cmdb-attribute:jira` | View Assets object type attributes |
68+
| `write:sprint:jira-software` | Create and update Jira Software sprints |
6969

7070
## Use the block [#usage-instructions]
7171

‎packages/db/migrations/0440_assistant_action_approvals.sql‎

Lines changed: 0 additions & 4 deletions
This file was deleted.

packages/db/migrations/0441_assistant_tool_permissions.sql renamed to packages/db/migrations/0440_assistant_actions.sql

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
ALTER TABLE "copilot_async_tool_calls" ADD COLUMN "executable_name" text;--> statement-breakpoint
2+
ALTER TABLE "copilot_async_tool_calls" ADD COLUMN "target_workspace_id" text;--> statement-breakpoint
3+
ALTER TABLE "copilot_async_tool_calls" ADD COLUMN "approved_args" jsonb;--> statement-breakpoint
4+
ALTER TABLE "copilot_async_tool_calls" ADD COLUMN "execution_retryable" boolean DEFAULT true NOT NULL;
5+
--> statement-breakpoint
16
CREATE TABLE "assistant_tool_permission" (
27
"organization_id" text NOT NULL,
38
"user_id" text NOT NULL,
@@ -16,4 +21,6 @@ ALTER TABLE "assistant_tool_permission" ADD CONSTRAINT "assistant_tool_permissio
1621
ALTER TABLE "assistant_tool_permission" ADD CONSTRAINT "assistant_tool_permission_user_id_user_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."user"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
1722
ALTER TABLE "assistant_tool_permission" ADD CONSTRAINT "assistant_tool_permission_credential_id_credential_id_fk" FOREIGN KEY ("credential_id") REFERENCES "public"."credential"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
1823
CREATE INDEX "assistant_tool_permission_credential_idx" ON "assistant_tool_permission" USING btree ("credential_id");--> statement-breakpoint
19-
CREATE INDEX "assistant_tool_permission_user_idx" ON "assistant_tool_permission" USING btree ("user_id");
24+
CREATE INDEX "assistant_tool_permission_user_idx" ON "assistant_tool_permission" USING btree ("user_id");
25+
--> statement-breakpoint
26+
ALTER TABLE "copilot_async_tool_calls" ADD COLUMN "assistant_action" jsonb;

‎packages/db/migrations/0442_assistant_action_binding.sql‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)