Skip to content

Commit

Permalink
chore: add membership type for ci env
Browse files Browse the repository at this point in the history
  • Loading branch information
cuixiaorui committed Jul 7, 2024
1 parent ad1ad61 commit b6cfd44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Execute SQL script
run: |
psql -U test -d earthworm_test -h localhost -p 5480 -f /packages/db/init.sql
- name: Run database initialization command
run: pnpm db:init:test:ci

Expand Down
1 change: 1 addition & 0 deletions packages/db/init.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CREATE TYPE membership_type AS ENUM ('regular', 'premium');

0 comments on commit b6cfd44

Please sign in to comment.