diff --git a/packages/server/src/api/routes/tests/search.spec.ts b/packages/server/src/api/routes/tests/search.spec.ts index 68f61ba28d..ee804c9914 100644 --- a/packages/server/src/api/routes/tests/search.spec.ts +++ b/packages/server/src/api/routes/tests/search.spec.ts @@ -6,9 +6,11 @@ import { } from "../../../integrations/tests/utils" import { db as dbCore, + context, MAX_VALID_DATE, MIN_VALID_DATE, utils, + SQLITE_DESIGN_DOC_ID, } from "@budibase/backend-core" import * as setup from "./utilities" @@ -2524,4 +2526,38 @@ describe.each([ }).toContainExactly([{ [" name"]: "foo" }]) }) }) + + isSqs && + describe("duplicate columns", () => { + beforeAll(async () => { + table = await createTable({ + name: { + name: "name", + type: FieldType.STRING, + }, + }) + await context.doInAppContext(config.appId!, async () => { + const db = context.getAppDB() + const tableDoc = await db.get