Hi guys, I've been using the graphcool@next cli fo...
# prisma-whats-new
g
Hi guys, I've been using the graphcool@next cli for some time now; I'm trying to deploy --target dev but my schema does not get updated ( I've renamed some relations fields ). I have tried: - adding a fake field ( it shows the new field, but the renaming still does not work ) - deploy --force Any ideas what I should try ?
g
while renaming, did you make sure to provide migration fields? for eg:
Copy code
user: User! @relation(name: "NewRelationName", oldName: "OldRelationName")
Here's the documentation regarding migrations, https://docs-next.graph.cool/docs/reference/database/migrations-paesahku9t
b
and are you using the latest graphcool version? It's now been published to npm as
latest
, so can be installed with just
yarn add graphcool
g
@gauravkaushik - I did not try that, I'll give it a try @Ben - did not know that aswell Thanks for your help
👍 1