mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 10:23:34 +00:00
chore: code cleanup
This commit is contained in:
parent
9dacb1676f
commit
8a80c2a68e
@ -142,7 +142,9 @@ function enableReviewWorkflow({ strapi }) {
|
||||
entity: contentTypeMetadata.tableName,
|
||||
})
|
||||
.toSQL();
|
||||
// Insert the clone relations
|
||||
|
||||
// Insert rows for all entries of the content type that do not have a
|
||||
// default stage
|
||||
await connection(joinTable.name).insert(
|
||||
connection.raw(
|
||||
`(${columnsToInsert.join(',')}) ${selectStatement.sql}`,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user