Skip to content

Commit

Permalink
migration again
Browse files Browse the repository at this point in the history
  • Loading branch information
philipperolet committed Sep 8, 2023
1 parent 9ae414a commit 011853b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions connectors/migrations/20230906_notion_fill_parents_field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import { updateAllParentsFields } from "@connectors/connectors/notion/lib/parent
import { Connector, NotionDatabase, NotionPage } from "@connectors/lib/models";

async function main() {
if (!process.argv[2]) {
console.error("Missing workspace id or 'all' as first argument");
process.exit(1);
}
// if first arg is "all", update all connectors, else update only the
// connector for the corresponding workspace id
const connectors =
Expand Down

0 comments on commit 011853b

Please sign in to comment.