Skip to content

Commit

Permalink
Merge pull request #17 from Kpoke/main
Browse files Browse the repository at this point in the history
add default for type and role
  • Loading branch information
Kpoke authored Mar 23, 2023
2 parents 0c9b2a3 + 356a4b8 commit a2a4aae
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 a2a4aae

Please sign in to comment.