mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 15:13:21 +00:00
feat: do not persist tables with suffix
This commit is contained in:
parent
4c82c11496
commit
4b5106d606
3
packages/core/admin/ee/server/bootstrap.js
vendored
3
packages/core/admin/ee/server/bootstrap.js
vendored
@ -5,7 +5,7 @@ const { features } = require('@strapi/strapi/lib/utils/ee');
|
||||
const executeCEBootstrap = require('../../server/bootstrap');
|
||||
const { getService } = require('../../server/utils');
|
||||
const actions = require('./config/admin-actions');
|
||||
const { persistTablesWithPrefix, persistTablesWithSuffix } = require('./utils/persisted-tables');
|
||||
const { persistTablesWithPrefix } = require('./utils/persisted-tables');
|
||||
|
||||
module.exports = async () => {
|
||||
const { actionProvider } = getService('permission');
|
||||
@ -22,7 +22,6 @@ module.exports = async () => {
|
||||
|
||||
if (features.isEnabled('review-workflows')) {
|
||||
await persistTablesWithPrefix('strapi_workflows');
|
||||
await persistTablesWithSuffix('_strapi_review_workflows_stage_links');
|
||||
|
||||
const { bootstrap: rwBootstrap } = getService('review-workflows');
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user