You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 7, 2024. It is now read-only.
In the strapi v3 i have tables : components_story_group_stories__stories with columns id | components_story_group_story_id | story_id components_puzzle_group_puzzles__puzzles with columns id | components_puzzle_group_puzzle_id | puzzle_id
I migrated my strapi from v3 to v4 using codemods. And pointed strapi to new empty db and generated schema. After migrating the strapi following changes happen components_story_group_stories_stories_links with the columns id | group_stories_id | story_id | story_order components_puzzle_group_puzzles_puzzles_links with columns id | group_puzzles_id | puzzle_id | puzzle_order
**there are more like these tables
When i tried to migrate the data from v3 to v4 the column group_stories_id and group_puzzles_id are skipped
Showing this in the console - WARNING - items of components_story_group_stories_stories_links was filtered ["group_story_id"] WARNING - items of components_puzzle_group_puzzles_puzzles_links was filtered ["group_puzzle_id"]
In columns group_story_id and group_puzzle_idNULL value is showing
The other issue with the same process is no data is migarted for some tables:
in v3 i have a table components_game_group_games__game_sets with columns id | components_game_group_game_id| game-set_id
after migrating it to the v4 the table is renamed as components_game_group_games_game_sets_links with columns name as id | group_games_id | game_set_id | game_set_order
After running the migration script the table is still empty in v4 db and data for this table is not migrated from v3 to v4.
Expected behavior
All the data should have been migrated from v3 to v4 PostgreSQL.
Bug report
Required System information
Describe the bug
In the strapi v3 i have tables :
components_story_group_stories__storieswith columnsid|components_story_group_story_id|story_idcomponents_puzzle_group_puzzles__puzzleswith columnsid|components_puzzle_group_puzzle_id|puzzle_idI migrated my strapi from v3 to v4 using codemods. And pointed strapi to new empty db and generated schema. After migrating the strapi following changes happen
components_story_group_stories_stories_linkswith the columnsid|group_stories_id|story_id|story_ordercomponents_puzzle_group_puzzles_puzzles_linkswith columnsid|group_puzzles_id|puzzle_id|puzzle_order**there are more like these tables
When i tried to migrate the data from v3 to v4 the column
group_stories_idandgroup_puzzles_idare skippedShowing this in the console -
WARNING - items of components_story_group_stories_stories_links was filtered ["group_story_id"]WARNING - items of components_puzzle_group_puzzles_puzzles_links was filtered ["group_puzzle_id"]In columns
group_story_idandgroup_puzzle_idNULLvalue is showingThe other issue with the same process is no data is migarted for some tables:
in v3 i have a table
components_game_group_games__game_setswith columnsid|components_game_group_game_id|game-set_idafter migrating it to the v4 the table is renamed as
components_game_group_games_game_sets_linkswith columns name asid|group_games_id|game_set_id|game_set_orderAfter running the migration script the table is still empty in v4 db and data for this table is not migrated from v3 to v4.
Expected behavior
All the data should have been migrated from v3 to v4 PostgreSQL.
Screenshots
Tables in v3


Tables in v4

