From fa20a6169e0ee3fdda70c4f3171d8d27b01c51f4 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Sun, 17 Jul 2022 16:21:55 +0100 Subject: [PATCH] fixing broken migration --- .../server/src/migrations/functions/userEmailViewCasing.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/server/src/migrations/functions/userEmailViewCasing.ts b/packages/server/src/migrations/functions/userEmailViewCasing.ts index 16f55655ab..fe58692a27 100644 --- a/packages/server/src/migrations/functions/userEmailViewCasing.ts +++ b/packages/server/src/migrations/functions/userEmailViewCasing.ts @@ -1,4 +1,4 @@ -const { createUserEmailView } = require("@budibase/backend-core/db") +const { createNewUserEmailView } = require("@budibase/backend-core/db") /** * Date: @@ -9,5 +9,5 @@ const { createUserEmailView } = require("@budibase/backend-core/db") */ export const run = async (db: any) => { - await createUserEmailView(db) + await createNewUserEmailView(db) }