Skip to content

Commit 51f2f82

Browse files
committed
feat: improved public API + documentation for self hosting
1 parent 747724e commit 51f2f82

62 files changed

Lines changed: 18676 additions & 287 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ALTER TABLE "api_key" ADD COLUMN "linked_user_id" varchar(26);--> statement-breakpoint
2+
ALTER TABLE "api_key" ADD CONSTRAINT "api_key_linked_user_id_user_id_fk" FOREIGN KEY ("linked_user_id") REFERENCES "public"."user"("id") ON DELETE set null ON UPDATE no action;--> statement-breakpoint
3+
CREATE INDEX "api_key_linked_user_idx" ON "api_key" USING btree ("linked_user_id");
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE "conversation" ADD COLUMN "metadata" jsonb;

0 commit comments

Comments
 (0)