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 } = const { MIGRATIONS, MIGRATION_DBS, migrateIfRequired } =
require("@budibase/auth").migrations require("@budibase/backend-core").migrations
const { getGlobalDB } = require("@budibase/auth/tenancy") const { getGlobalDB } = require("@budibase/backend-core/tenancy")
const { getAllApps } = require("@budibase/auth/db") const { getAllApps } = require("@budibase/backend-core/db")
const CouchDB = require("../db") const CouchDB = require("../db")
const { getUsageQuotaDoc } = require("../utilities/usageQuota") 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 TestConfig = require("../../tests/utilities/TestConfiguration")
const { getUsageQuotaDoc, update, Properties } = require("../../utilities/usageQuota") const { getUsageQuotaDoc, update, Properties } = require("../../utilities/usageQuota")
const { runIfRequired } = require("../sync_app_and_reset_rows_quotas") const { runIfRequired } = require("../sync_app_and_reset_rows_quotas")