@strapi/content-releases 5.0.3 → 5.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -329,6 +329,10 @@ async function enableContentTypeLocalized({ oldContentTypes, contentTypes: conte
329
329
  const addEntryDocumentToReleaseActions = {
330
330
  name: "content-releases::5.0.0-add-entry-document-id-to-release-actions",
331
331
  async up(trx, db) {
332
+ const hasTable = await trx.schema.hasTable("strapi_release_actions");
333
+ if (!hasTable) {
334
+ return;
335
+ }
332
336
  const hasPolymorphicColumn = await trx.schema.hasColumn("strapi_release_actions", "target_id");
333
337
  if (hasPolymorphicColumn) {
334
338
  const hasEntryDocumentIdColumn = await trx.schema.hasColumn(