Skip to content

Commit

Permalink
style: added format
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosvdr committed Jun 18, 2024
1 parent f3aabdb commit 1f19b75
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,14 @@ export async function up({ context }: Context): Promise<void> {
logger.info(
`Remove one-to-one relationship between AllocationSummary and Voucher`,
)
try{
try {
await queryInterface.removeConstraint('allocation_summaries', 'voucher')
}catch(err){
logger.warn('Not able to remove relationship, this could happen due to error when shutting down the db last time', {err})
} catch (err) {
logger.warn(
'Not able to remove relationship, this could happen due to error when shutting down the db last time',
{ err },
)
}


logger.info(`Add RAV association with AllocationSummary`)
await queryInterface.addConstraint('scalar_tap_ravs', {
Expand Down

0 comments on commit 1f19b75

Please sign in to comment.