Replace auth with backend-core

This commit is contained in:
Rory Powell 2022-01-12 09:53:48 +00:00
parent 5671244274
commit f049d7d21c
2 changed files with 4 additions and 4 deletions

View File

@ -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")

View File

@ -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")