procbay-schema 1.0.71 → 1.0.72
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 +1 -1
- package/prisma/migrations/20251114061203_added_unqiue_to_template_name/migration.sql +8 -0
- package/prisma/schema.prisma +1 -1
- package/prisma/seeders/utils/config.js +1 -1
- package/src/prisma/edge.js +3 -3
- package/src/prisma/index.d.ts +2 -2
- package/src/prisma/index.js +3 -3
- package/src/prisma/package.json +1 -1
- package/src/prisma/schema.prisma +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "procbay-schema",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.72",
|
|
4
4
|
"description": "A set of utilities for managing Prisma database schemas, seeding, and maintenance operations for the Procure-to-Pay system",
|
|
5
5
|
"main": "src/prisma/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Warnings:
|
|
3
|
+
|
|
4
|
+
- A unique constraint covering the columns `[template_name]` on the table `templates` will be added. If there are existing duplicate values, this will fail.
|
|
5
|
+
|
|
6
|
+
*/
|
|
7
|
+
-- CreateIndex
|
|
8
|
+
CREATE UNIQUE INDEX "templates_template_name_key" ON "templates"("template_name");
|
package/prisma/schema.prisma
CHANGED
|
@@ -964,7 +964,7 @@ model Template {
|
|
|
964
964
|
id Int @id @default(autoincrement())
|
|
965
965
|
uuid String? @unique @default(uuid())
|
|
966
966
|
template_code String? @unique
|
|
967
|
-
template_name String?
|
|
967
|
+
template_name String? @unique
|
|
968
968
|
template_type Json?
|
|
969
969
|
currency_id Int?
|
|
970
970
|
currency Currency? @relation(fields: [currency_id], references: [id], onDelete: Cascade)
|