Skip to content
Snippets Groups Projects
Commit b313281e authored by Daniel Gerdes's avatar Daniel Gerdes
Browse files

Push schema to db while building docker

parent 47e9c44e
No related branches found
No related tags found
No related merge requests found
...@@ -9,6 +9,7 @@ RUN npm install ...@@ -9,6 +9,7 @@ RUN npm install
COPY . . COPY . .
RUN npx prisma generate RUN npx prisma generate
RUN npx prisma db push
RUN npm run build RUN npm run build
EXPOSE 3000 EXPOSE 3000
......
...@@ -26,7 +26,6 @@ export class GroupResolver { ...@@ -26,7 +26,6 @@ export class GroupResolver {
filter: (payload, variables, state) => filter: (payload, variables, state) =>
payload.updateToken.code === state.token, payload.updateToken.code === state.token,
}) })
// eslint-disable-next-line @typescript-eslint/no-unused-vars
updateToken() { updateToken() {
return pubSub.asyncIterator('updateToken'); return pubSub.asyncIterator('updateToken');
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment