Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

329 B
Raw Blame
-- Add imageUrl column
ALTER TABLE "LibraryAgent"
ADD COLUMN  "creatorId" TEXT,
ADD COLUMN  "imageUrl"  TEXT;

-- Add foreign key constraint for creatorId -> Profile
ALTER TABLE "LibraryAgent"
ADD CONSTRAINT "LibraryAgent_creatorId_fkey" FOREIGN KEY ("creatorId") REFERENCES "Profile"("id") ON DELETE SET NULL ON UPDATE CASCADE;