Skip to content

Commit

Permalink
chore: db: add index to sets.exercise_id (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
crlssn authored Dec 18, 2024
1 parent ba9bf3e commit 25712b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ on:
- main
pull_request:
paths:
- 'server/**'
- 'go.mod'
- 'server/**'
- 'database/migrations/**'

jobs:
server:
Expand Down
1 change: 1 addition & 0 deletions database/migrations/021_sets_exercise_id_index.up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CREATE INDEX ON getstronger.sets (exercise_id);

0 comments on commit 25712b5

Please sign in to comment.