diff --git a/packages/server/src/migrations/sync_app_and_reset_rows_quotas.js b/packages/server/src/migrations/sync_app_and_reset_rows_quotas.js index 6795d062a2..3aa3ca7354 100644 --- a/packages/server/src/migrations/sync_app_and_reset_rows_quotas.js +++ b/packages/server/src/migrations/sync_app_and_reset_rows_quotas.js @@ -1,7 +1,7 @@ const { MIGRATIONS, MIGRATION_DBS, migrateIfRequired } = - require("@budibase/auth").migrations -const { getGlobalDB } = require("@budibase/auth/tenancy") -const { getAllApps } = require("@budibase/auth/db") + require("@budibase/backend-core").migrations +const { getGlobalDB } = require("@budibase/backend-core/tenancy") +const { getAllApps } = require("@budibase/backend-core/db") const CouchDB = require("../db") const { getUsageQuotaDoc } = require("../utilities/usageQuota") diff --git a/packages/server/src/migrations/tests/sync_app_and_reset_rows_quotas.spec.js b/packages/server/src/migrations/tests/sync_app_and_reset_rows_quotas.spec.js index 69ffd0a9e2..cd533e3f06 100644 --- a/packages/server/src/migrations/tests/sync_app_and_reset_rows_quotas.spec.js +++ b/packages/server/src/migrations/tests/sync_app_and_reset_rows_quotas.spec.js @@ -1,4 +1,4 @@ -const { getGlobalDB } = require("@budibase/auth/tenancy") +const { getGlobalDB } = require("@budibase/backend-core/tenancy") const TestConfig = require("../../tests/utilities/TestConfiguration") const { getUsageQuotaDoc, update, Properties } = require("../../utilities/usageQuota") const { runIfRequired } = require("../sync_app_and_reset_rows_quotas")