@juliobrim/prisma-shared 1.0.43 → 1.0.45

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.
@@ -0,0 +1,2 @@
1
+ -- AlterTable
2
+ ALTER TABLE "productivity_interval_cache" ADD COLUMN "time_to_produce_history" TEXT;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juliobrim/prisma-shared",
3
- "version": "1.0.43",
3
+ "version": "1.0.45",
4
4
  "description": "Schema Prisma compartilhado entre projetos Sabcon",
5
5
  "main": "schema.prisma",
6
6
  "files": [
@@ -12,14 +12,14 @@
12
12
  "access": "public"
13
13
  },
14
14
  "scripts": {
15
- "generate": "npx prisma generate",
16
- "migrate:dev": "npx prisma migrate dev",
17
- "migrate:deploy": "npx prisma migrate deploy",
18
- "migrate:reset": "npx prisma migrate reset",
19
- "db:push": "npx prisma db push",
20
- "format": "npx prisma format",
21
- "validate": "npx prisma validate",
22
- "prepublishOnly": "npm run format"
15
+ "generate": "prisma generate",
16
+ "migrate:dev": "prisma migrate dev",
17
+ "migrate:deploy": "prisma migrate deploy",
18
+ "migrate:reset": "prisma migrate reset",
19
+ "db:push": "prisma db push",
20
+ "format": "prisma format",
21
+ "validate": "prisma validate",
22
+ "prepublishOnly": "pnpm run format"
23
23
  },
24
24
  "keywords": [
25
25
  "prisma",
package/schema.prisma CHANGED
@@ -1062,6 +1062,7 @@ model ProductivityIntervalCache {
1062
1062
  totalDuration Float @map("total_duration")
1063
1063
  efficiencyPercentage Float @map("efficiency_percentage")
1064
1064
  timeToProduceSnapshot Int? @map("time_to_produce_snapshot")
1065
+ timeToProduceHistory String? @map("time_to_produce_history")
1065
1066
  downtimeSeconds Float @default(0) @map("downtime_seconds")
1066
1067
 
1067
1068
  createdAt DateTime @default(now())