@adaptware/eagles-db 0.5.10 → 0.5.11

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-10abbfb6ad32811926f7b1ef047f7d180b026db666f955e1dbac9e856b35c8a4",
2
+ "name": "prisma-client-e3406c5520e0285755d51d52a50ca7ccbd00cd4d46bd810774ebf53f89cc6cfa",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "default.js",
@@ -3875,8 +3875,8 @@ model LicenseIncludedWorkflow {
3875
3875
  workflow_name String @unique
3876
3876
  created_at DateTime @default(now())
3877
3877
  updated_at DateTime @updatedAt
3878
- created_by String
3879
- updated_by String
3878
+ created_by String @default("system")
3879
+ updated_by String @default("system")
3880
3880
  is_active Boolean @default(true)
3881
3881
 
3882
3882
  @@map("license_included_workflows")
@@ -3894,8 +3894,8 @@ model UsageAggregate {
3894
3894
  period_end DateTime?
3895
3895
  created_at DateTime @default(now())
3896
3896
  updated_at DateTime @updatedAt
3897
- created_by String
3898
- updated_by String
3897
+ created_by String @default("system")
3898
+ updated_by String @default("system")
3899
3899
  is_active Boolean @default(true)
3900
3900
 
3901
3901
  organisation Organisation @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
@@ -3945,9 +3945,9 @@ model UsageLedgerEntry {
3945
3945
  resource_type String?
3946
3946
  resource_id String?
3947
3947
  created_at DateTime @default(now())
3948
- updated_at DateTime @updatedAt
3949
- created_by String
3950
- updated_by String
3948
+ updated_at DateTime @default(now()) @updatedAt
3949
+ created_by String @default("system")
3950
+ updated_by String @default("system")
3951
3951
  is_active Boolean @default(true)
3952
3952
 
3953
3953
  organisation Organisation @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
@@ -3968,8 +3968,8 @@ model UsageMetricDefinition {
3968
3968
  metadata Json?
3969
3969
  created_at DateTime @default(now())
3970
3970
  updated_at DateTime @updatedAt
3971
- created_by String
3972
- updated_by String
3971
+ created_by String @default("system")
3972
+ updated_by String @default("system")
3973
3973
  is_active Boolean @default(true)
3974
3974
 
3975
3975
  ledger_entries UsageLedgerEntry[]