render-examples / hasura-graphql

Hasura GraphQL Engine on Render
https://render.com
MIT License
14 stars 75 forks source link

Migration docker image #6

Open kwiss opened 3 years ago

kwiss commented 3 years ago

any idea on how to execute migration with cli migration ?

i'm using

FROM hasura/graphql-engine:v1.3.0.cli-migrations-v2

ENV HASURA_GRAPHQL_ENABLE_TELEMETRY false

COPY ./migrations /hasura-migrations
COPY ./metadata /hasura-metadata

CMD graphql-engine serve --server-port $PORT

it seems render.com skip the migration, all files are copied but no migration executed

mnlbox commented 2 years ago

Same use-case here. @kwiss Did you find any solution for your question?