Skip to content

Commit

Permalink
Update dmmf snapshot with uniqueFields
Browse files Browse the repository at this point in the history
  • Loading branch information
Jolg42 committed Mar 3, 2020
1 parent 98de3b1 commit b06f915
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ Object {
"isEmbedded": false,
"isGenerated": false,
"name": "A",
"uniqueFields": Array [],
},
],
},
Expand Down
3 changes: 2 additions & 1 deletion cli/sdk/src/__tests__/engineCommands.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ describe('getDMMF', () => {
"isEmbedded": false,
"isGenerated": false,
"name": "A",
"uniqueFields": Array [],
},
],
}
Expand All @@ -63,7 +64,7 @@ describe('getDMMF', () => {
)
const dmmf = await getDMMF({ datamodel: file })
const str = JSON.stringify(dmmf)
expect(str.length).toMatchInlineSnapshot(`45711219`)
expect(str.length).toMatchInlineSnapshot(`45802011`)
})
})

Expand Down

0 comments on commit b06f915

Please sign in to comment.