Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Migration script fails on relationships #117

@tim9009

Description

@tim9009

Bug report

Required System information

  • Node.js version: v18.18.0
  • NPM version: 9.8.1
  • Source Strapi version: v3.6.5
  • Target Strapi version: v4
  • Source Database: postgresql
  • Target Database: postgresql
  • Operating system: MacOS
  • Which script are you running: v3-sql-v4-sql

Describe the bug

When running the migration script the script exits with an error every time it is about to migrate a table that includes an id, for example: Key (page_id)=(9) is not present in table "pages".. When looking at the rows in the pages table of the source database I can confirm that the page with id 9 does exist.

Screenshots

screenshot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions