Chad H
08/06/2019, 11:52 AMprisma deploy
. when I run this on ubuntu, I kept getting "Service is already up to date." when in fact there is nothing generated on the database. If I run prisma delete
, I get ERROR: GraphQL Error (Code: 400). prisma delete --force
ran without error but doesn't seem to do anything
I'm using 1.34.3 for both the CLI and server
node 10.16.1
prisma.yml:
endpoint: <http://xx.xxx.xx.xx:4466>
datamodel: datamodel.prisma
generate:
- generator: javascript-client
output: ./generated/prisma-client/
docker-compose.yml:
version: '3'
services:
prisma:
image: prismagraphql/prisma:1.34
restart: always
ports:
- "4466:4466"
environment:
PRISMA_CONFIG: |
port: 4466
# uncomment the next line and provide the env var PRISMA_MANAGEMENT_API_SECRET=my-secret to activate cluster security
# managementApiSecret: my-secret
databases:
default:
connector: mysql
host: >-
someserver....
database: dbname
user: someuser
password: somepassword
rawAccess: true
port: '3306'
migrations: true
I tried to remove docker container and image and re-installed everything. Still get the same issue. Please help. Thanks!Harshit
08/06/2019, 2:54 PMHarshit
08/06/2019, 2:54 PMPRISMA_MANAGEMENT_API_SECRET=my-secret prisma deploy
Chad H
08/07/2019, 2:33 AM