Skip to content

Commit

Permalink
chore: use postgres 14.1 for github action
Browse files Browse the repository at this point in the history
  • Loading branch information
adityathebe committed Sep 18, 2023
1 parent 9ba5824 commit 4d748d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,9 @@ jobs:
uses: actions/checkout@v3
- name: Apply new migrations
run: ${{ env.migrate_command }}

services:
postgres:
image: postgres:15
image: postgres:14.1
ports:
- 5432:5432
env:
Expand Down
4 changes: 2 additions & 2 deletions schema/notifications.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ table "notification_send_history" {
foreign_key "notification_id_fkey" {
columns = [column.notification_id]
ref_columns = [table.notifications.column.id]
on_update = NO_ACTION
on_delete = NO_ACTION
on_update = CASCADE
on_delete = CASCADE
}
foreign_key "notification_recipient_person_id_fkey" {
columns = [column.person_id]
Expand Down

0 comments on commit 4d748d7

Please sign in to comment.