Skip to content

Instantly share code, notes, and snippets.

@gemcave
Created January 8, 2020 16:39
Show Gist options
  • Save gemcave/32314a8f92a68dd9f2fe7c839f8ac685 to your computer and use it in GitHub Desktop.
Save gemcave/32314a8f92a68dd9f2fe7c839f8ac685 to your computer and use it in GitHub Desktop.
permissions does not edit prisma
What you can do to fix this is the following:
Click on the query you want to edit the enum on.
Click the query name on the top. This will open up an object. In here you want to add the enum.
Click save query and rerun the queries.
Now the enum will show up in your view.
If you would now double click the enum you want to edit, it will give you a dialog modal in which you can now edit the enum. Add the items you want and click the cross in the top right of the modal.
Don’t forget to click the save to database button in the bottom right of your screen.
You’ve now successfully edited your enum.
Please make sure you report the sidepanel bug to prisma if you want to get this fixed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment