From bec0157f9ea8431bb3c1111117839a2699f09f2c Mon Sep 17 00:00:00 2001 From: Nicholas Tindle Date: Tue, 27 Jan 2026 23:01:19 -0600 Subject: [PATCH] Update migration to retain 'search' column Removed the dropping of the 'search' column and its associated index from the migration script. --- .../20260127230419_add_user_workspace/migration.sql | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/autogpt_platform/backend/migrations/20260127230419_add_user_workspace/migration.sql b/autogpt_platform/backend/migrations/20260127230419_add_user_workspace/migration.sql index bceb48fcdd..bb63dccb33 100644 --- a/autogpt_platform/backend/migrations/20260127230419_add_user_workspace/migration.sql +++ b/autogpt_platform/backend/migrations/20260127230419_add_user_workspace/migration.sql @@ -1,18 +1,6 @@ -/* - Warnings: - - - You are about to drop the column `search` on the `StoreListingVersion` table. All the data in the column will be lost. - -*/ -- CreateEnum CREATE TYPE "WorkspaceFileSource" AS ENUM ('UPLOAD', 'EXECUTION', 'COPILOT', 'IMPORT'); --- DropIndex -DROP INDEX "UnifiedContentEmbedding_search_idx"; - --- AlterTable -ALTER TABLE "StoreListingVersion" DROP COLUMN "search"; - -- CreateTable CREATE TABLE "UserWorkspace" ( "id" TEXT NOT NULL,