Skip to content

Commit

Permalink
fix: migrate stakeholder relation
Browse files Browse the repository at this point in the history
  • Loading branch information
Kpoke committed Mar 23, 2023
1 parent 0c9b2a3 commit 356a4b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v1Tov2Migrations/migrate_stakeholder_relations.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ async function migrate() {
await trx.table('public.entity_relationship').insert({
parent_id: parent_entity_id,
child_id: child_entity_id,
type,
role,
type: type || 'default',
role: role || 'default',
created_at,
});

Expand Down

0 comments on commit 356a4b8

Please sign in to comment.