Skip to content

Commit

Permalink
fix(notion migration script): update parents for all notio resources (#…
Browse files Browse the repository at this point in the history
…8338)

Co-authored-by: Henry Fontanier <[email protected]>
  • Loading branch information
fontanierh and Henry Fontanier authored Oct 30, 2024
1 parent 92d580a commit 02a09ad
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions connectors/migrations/20241030_fix_notion_parents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ async function updateParentsFieldForConnector(
const pages = await NotionPage.findAll({
where: {
connectorId: connector.id,
parentId: "unknown",
id: {
[Op.gt]: pagesIdCursor,
},
Expand All @@ -35,7 +34,6 @@ async function updateParentsFieldForConnector(
const databases = await NotionDatabase.findAll({
where: {
connectorId: connector.id,
parentId: "unknown",
id: {
[Op.gt]: databasesIdCursor,
},
Expand Down

0 comments on commit 02a09ad

Please sign in to comment.