Skip to content

Commit

Permalink
chore: add foreign key for related created by for notification_silenced
Browse files Browse the repository at this point in the history
  • Loading branch information
mainawycliffe authored and adityathebe committed Sep 19, 2024
1 parent ee02526 commit 63fb069
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions schema/notifications.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -293,4 +293,10 @@ table "notification_silences" {
on_update = NO_ACTION
on_delete = NO_ACTION
}
foreign_key "notification_silence_created_by_fkey" {
columns = [column.created_by]
ref_columns = [table.people.column.id]
on_update = NO_ACTION
on_delete = NO_ACTION
}
}

0 comments on commit 63fb069

Please sign in to comment.