@a_team/prisma 1.0.20 → 1.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a_team/prisma",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "keywords": [],
5
5
  "scripts": {
6
6
  "generate": "npx prisma generate",
@@ -6,7 +6,7 @@ const prisma = new PrismaClient();
6
6
 
7
7
  async function main() {
8
8
  const contract = await prisma.contract.findUnique({
9
- where: { id: "66cf64d100e0d700127facdf" },
9
+ where: { sid: "66cf64d100e0d700127facdf" },
10
10
  include: {
11
11
  mission: true,
12
12
  },
@@ -1,5 +1,5 @@
1
1
  model Contract {
2
- id String @id @default(auto()) @map("_id") @db.ObjectId
2
+ sid String @id @default(auto()) @map("_id") @db.ObjectId
3
3
  status ContractStatus
4
4
  type ContractType
5
5
  downloadURL String