Skip to content

Commit

Permalink
ci: sql execution
Browse files Browse the repository at this point in the history
Signed-off-by: Azanul <azanulhaque@gmail.com>
  • Loading branch information
Azanul committed Feb 20, 2024
1 parent 1f6d792 commit 86a1c43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:

- name: Create tables
run: |
set -e
PGPASSWORD=postgres psql -h localhost -U postgres -d postgres -f notification/pkg/model/notification.sql
- name: Run go tests User service
Expand Down
2 changes: 1 addition & 1 deletion notification/pkg/model/notification.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CREATE TABLE notifications (
id VARCHAR(255) SERIAL PRIMARY KEY,
id SERIAL PRIMARY KEY,
chat_id VARCHAR(255),
sender VARCHAR(255),
receiver VARCHAR(255),
Expand Down

0 comments on commit 86a1c43

Please sign in to comment.