@cat-factory/node-server 0.69.1 → 0.70.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,14 @@
1
+ CREATE TABLE "github_user_repo_access" (
2
+ "user_id" text,
3
+ "repo_github_id" bigint,
4
+ "owner" text NOT NULL,
5
+ "name" text NOT NULL,
6
+ "default_branch" text,
7
+ "private" integer DEFAULT 0 NOT NULL,
8
+ "synced_at" bigint NOT NULL,
9
+ CONSTRAINT "github_user_repo_access_pkey" PRIMARY KEY("user_id","repo_github_id")
10
+ );
11
+ --> statement-breakpoint
12
+ ALTER TABLE "github_repos" ADD COLUMN "linked_via" text DEFAULT 'app' NOT NULL;--> statement-breakpoint
13
+ ALTER TABLE "github_repos" DROP COLUMN "block_id";--> statement-breakpoint
14
+ CREATE INDEX "idx_gh_user_repo_access_repo" ON "github_user_repo_access" ("repo_github_id");