Skip to content

Commit

Permalink
Index on relationships since it is a common query
Browse files Browse the repository at this point in the history
  • Loading branch information
markusn committed Jan 11, 2019
1 parent 9c0f02a commit af9b0cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions migrations/006-relationships-index.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CREATE INDEX IF NOT EXISTS entity_version_relationships_gin_idx ON entity_version USING gin ((doc -> 'relationships'));
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"Markus Ekholm",
"Ivan Malmberg"
],
"version": "3.0.1",
"version": "3.1.0",
"scripts": {
"test": "mocha",
"posttest": "eslint --cache ."
Expand Down

0 comments on commit af9b0cc

Please sign in to comment.