CREATE TABLE "github_integration" ( "id" text PRIMARY KEY NOT NULL, "project_id" text NOT NULL, "repository_owner" text NOT NULL, "repository_name" text NOT NULL, "installation_id" integer, "is_active" boolean DEFAULT true, "created_at" timestamp DEFAULT now() NOT NULL, "updated_at" timestamp DEFAULT now() NOT NULL, CONSTRAINT "github_integration_project_id_unique" UNIQUE("project_id") ); --> statement-breakpoint ALTER TABLE "github_integration" ADD CONSTRAINT "github_integration_project_id_project_id_fk" FOREIGN KEY ("project_id") REFERENCES "public"."project"("id") ON DELETE cascade ON UPDATE cascade;