@juliobrim/prisma-shared 1.0.33 → 1.0.34

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,8 @@
1
+ /*
2
+ Warnings:
3
+
4
+ - Added the required column `receivedDate` to the `product_batch` table without a default value. This is not possible if the table is not empty.
5
+
6
+ */
7
+ -- AlterTable
8
+ ALTER TABLE "public"."product_batch" ADD COLUMN "receivedDate" DATE NOT NULL;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juliobrim/prisma-shared",
3
- "version": "1.0.33",
3
+ "version": "1.0.34",
4
4
  "description": "Schema Prisma compartilhado entre projetos Sabcon",
5
5
  "main": "schema.prisma",
6
6
  "files": [
package/schema.prisma CHANGED
@@ -886,6 +886,7 @@ model ProductBatch {
886
886
  internalBatchNumber String?
887
887
  initialQuantity Float // Quantidade inicial adicionada ao estoque
888
888
  currentQuantity Float // Quantidade atual disponível
889
+ receivedDate DateTime @db.Date
889
890
  expiryDate DateTime @db.Date
890
891
  createdAt DateTime @default(now())
891
892
  updatedAt DateTime @updatedAt