From 14266be4e431115114d160a8956f567de4f91ee7 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 7 Jun 2024 17:26:45 +0100 Subject: [PATCH] Commenting why it does stuff. --- packages/server/src/integration-test/postgres.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/server/src/integration-test/postgres.spec.ts b/packages/server/src/integration-test/postgres.spec.ts index 99369202ec..32d74e5c45 100644 --- a/packages/server/src/integration-test/postgres.spec.ts +++ b/packages/server/src/integration-test/postgres.spec.ts @@ -1280,6 +1280,8 @@ describe("postgres integrations", () => { expect( nullableTable?.schema["order_number"].constraints?.presence ).toEqual(true) + // need to perform these calls raw to the DB so that the external state of the DB differs to what Budibase + // is aware of - therefore we can try to fetch and make sure BB updates correctly await rawQuery( rawDatasource, `ALTER TABLE nullableTable