Skip to content

Commit

Permalink
Add kind with slash to dev db
Browse files Browse the repository at this point in the history
  • Loading branch information
remko committed Jan 4, 2024
1 parent c334e79 commit 224922d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions bin/initialize-dev-db.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 224922d

Please sign in to comment.