@strapi/content-releases 5.0.5 → 5.0.6

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.
@@ -306,10 +306,6 @@ async function enableContentTypeLocalized({ oldContentTypes, contentTypes: conte
306
306
  const addEntryDocumentToReleaseActions = {
307
307
  name: "content-releases::5.0.0-add-entry-document-id-to-release-actions",
308
308
  async up(trx, db) {
309
- const hasTable = await trx.schema.hasTable("strapi_release_actions");
310
- if (!hasTable) {
311
- return;
312
- }
313
309
  const hasPolymorphicColumn = await trx.schema.hasColumn("strapi_release_actions", "target_id");
314
310
  if (hasPolymorphicColumn) {
315
311
  const hasEntryDocumentIdColumn = await trx.schema.hasColumn(