Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
12345678910111213141516171819202122232425CREATE TABLE "tangled_repo" ( "did" text NOT NULL, "rev" text NOT NULL, "rkey" text NOT NULL, "cid" text, "deleted" boolean NOT NULL, "name" text, "knot" text, "spindle" text, "description" text, "website" text, "topics" text[], "source" text, "labels" text[], "repo_did" text, "created_at" timestamp with time zone, CONSTRAINT "tangled_repo_did_rkey_pk" PRIMARY KEY("did","rkey"), CONSTRAINT "tangled_repo_cid_only_null_if_deleted" CHECK (("tangled_repo"."cid" is not null or "tangled_repo"."deleted" = true)), CONSTRAINT "tangled_repo_non_null_fields" CHECK (("tangled_repo"."deleted" = true or ("tangled_repo"."name" is not null and "tangled_repo"."knot" is not null and "tangled_repo"."created_at" is not null))));--> statement-breakpointALTER TABLE "tangled_profile" ALTER COLUMN "cid" DROP NOT NULL;--> statement-breakpointALTER TABLE "tangled_profile" ALTER COLUMN "bluesky" DROP NOT NULL;--> statement-breakpointALTER TABLE "tangled_profile" ADD CONSTRAINT "tangled_profile_cid_only_null_if_deleted" CHECK (("tangled_profile"."cid" is not null or "tangled_profile"."deleted" = true));--> statement-breakpointALTER TABLE "tangled_profile" ADD CONSTRAINT "tangled_profile_non_null_fields" CHECK (("tangled_profile"."deleted" = true or "tangled_profile"."bluesky" is not null));