From 224922de350e966341942c5c444b0d4bc4d678cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Thu, 4 Jan 2024 09:06:27 +0100 Subject: [PATCH] Add kind with slash to dev db --- bin/initialize-dev-db.mjs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/bin/initialize-dev-db.mjs b/bin/initialize-dev-db.mjs index ecc7bc4..29d32a4 100755 --- a/bin/initialize-dev-db.mjs +++ b/bin/initialize-dev-db.mjs @@ -446,6 +446,27 @@ await call("commit", { ], }); +await call("commit", { + mode: "NON_TRANSACTIONAL", + mutations: [ + { + insert: { + key: { + partitionId: { + projectId: projectID, + }, + path: [{ kind: "Slash/Kind", name: "EntityWithSingleProperty" }], + }, + properties: { + integerProp: { + integerValue: 14, + }, + }, + }, + }, + ], +}); + for (let i = 0; i < 1000; i++) { await call("commit", { mode: "NON_TRANSACTIONAL",