mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
chore: code cleanup
This commit is contained in:
parent
9dacb1676f
commit
8a80c2a68e
@ -142,7 +142,9 @@ function enableReviewWorkflow({ strapi }) {
|
|||||||
entity: contentTypeMetadata.tableName,
|
entity: contentTypeMetadata.tableName,
|
||||||
})
|
})
|
||||||
.toSQL();
|
.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(
|
await connection(joinTable.name).insert(
|
||||||
connection.raw(
|
connection.raw(
|
||||||
`(${columnsToInsert.join(',')}) ${selectStatement.sql}`,
|
`(${columnsToInsert.join(',')}) ${selectStatement.sql}`,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user