From 3cb95b742935e446a425fcfa8a483330850b7f0f Mon Sep 17 00:00:00 2001 From: timsuchanek Date: Tue, 13 Feb 2018 14:51:33 +0100 Subject: [PATCH] fix saving clusters --- cli/packages/prisma-yml/src/Cluster.ts | 2 +- .../prisma-yml/src/__snapshots__/Environment.test.ts.snap | 2 +- .../prisma-yml/src/__snapshots__/PrismaDefinition.test.ts.snap | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/packages/prisma-yml/src/Cluster.ts b/cli/packages/prisma-yml/src/Cluster.ts index 0631627441..915b24fb7d 100644 --- a/cli/packages/prisma-yml/src/Cluster.ts +++ b/cli/packages/prisma-yml/src/Cluster.ts @@ -22,7 +22,7 @@ export class Cluster { baseUrl: string, clusterSecret?: string, local: boolean = true, - shared: boolean = true, + shared: boolean = false, ) { this.out = out this.name = name diff --git a/cli/packages/prisma-yml/src/__snapshots__/Environment.test.ts.snap b/cli/packages/prisma-yml/src/__snapshots__/Environment.test.ts.snap index 353f701973..72328e01e0 100644 --- a/cli/packages/prisma-yml/src/__snapshots__/Environment.test.ts.snap +++ b/cli/packages/prisma-yml/src/__snapshots__/Environment.test.ts.snap @@ -118,7 +118,7 @@ Array [ "local": true, "name": "cluster", "out": Output {}, - "shared": true, + "shared": false, }, ] `; diff --git a/cli/packages/prisma-yml/src/__snapshots__/PrismaDefinition.test.ts.snap b/cli/packages/prisma-yml/src/__snapshots__/PrismaDefinition.test.ts.snap index 1f708348d1..0ab36be532 100644 --- a/cli/packages/prisma-yml/src/__snapshots__/PrismaDefinition.test.ts.snap +++ b/cli/packages/prisma-yml/src/__snapshots__/PrismaDefinition.test.ts.snap @@ -118,7 +118,7 @@ Array [ "local": true, "name": "cluster", "out": Output {}, - "shared": true, + "shared": false, }, ] `;