@creator.co/creatorco-prisma-client 1.0.57 → 1.0.58

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
@@ -79,7 +79,7 @@
79
79
  },
80
80
  "./*": "./*"
81
81
  },
82
- "version": "1.0.57",
82
+ "version": "1.0.58",
83
83
  "sideEffects": false,
84
84
  "description": "Prisma client for creatorco Database"
85
85
  }
package/schema.prisma CHANGED
@@ -1237,12 +1237,14 @@ model SocialProfile {
1237
1237
  }
1238
1238
 
1239
1239
  model MessageTemplate {
1240
- id Int @id @default(autoincrement())
1241
- label String?
1242
- template String @db.Text
1243
- brandId Int?
1244
- brand Brand? @relation(fields: [brandId], references: [id])
1245
- metaData Json @default("{}") // to save any additional data such as user defined variables
1240
+ id Int @id @default(autoincrement())
1241
+ label String?
1242
+ template String @db.Text
1243
+ brandId Int?
1244
+ brand Brand? @relation(fields: [brandId], references: [id])
1245
+ metaData Json @default("{}") // To save any additional data such as user-defined variables
1246
+ createdAt DateTime? @default(now())
1247
+ updatedAt DateTime? @updatedAt
1246
1248
 
1247
1249
  @@index([brandId])
1248
1250
  @@map("messagetemplate")
package/wasm.js CHANGED
@@ -844,7 +844,9 @@ exports.Prisma.MessageTemplateScalarFieldEnum = {
844
844
  label: 'label',
845
845
  template: 'template',
846
846
  brandId: 'brandId',
847
- metaData: 'metaData'
847
+ metaData: 'metaData',
848
+ createdAt: 'createdAt',
849
+ updatedAt: 'updatedAt'
848
850
  };
849
851
 
850
852
  exports.Prisma.EmailTemplateScalarFieldEnum = {