Browse Source

Fix warthog:migrate

Leszek Wiesner 3 years ago
parent
commit
d2333be7a0
2 changed files with 4 additions and 1 deletions
  1. 3 0
      query-node/build.sh
  2. 1 1
      query-node/schemas/proposals.graphql

+ 3 - 0
query-node/build.sh

@@ -25,6 +25,9 @@ yarn format
 # and are inline with root workspace resolutions
 yarn
 
+# Add missing typeorm binary symlink
+ln -s ../../../../../node_modules/typeorm/cli.js ./generated/graphql-server/node_modules/.bin/typeorm
+
 yarn workspace query-node codegen
 yarn workspace query-node build:prod
 

+ 1 - 1
query-node/schemas/proposals.graphql

@@ -106,7 +106,7 @@ type Proposal @entity {
   title: String! @fulltext(query: "proposalsByTitle")
 
   "Proposal description"
-  description: String! @fulltext(query: "proposalsByDescription")
+  description: String!
 
   "Proposal details depending on proposal type"
   details: ProposalDetails!