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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "procbay-schema",
3
- "version": "1.0.71",
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");
@@ -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)
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  // The email of the current admin user
6
- export const CURRENT_ADMIN_USER_EMAIL = 'pipl.arvind@gmail.com';
6
+ export const CURRENT_ADMIN_USER_EMAIL = 'admin@gmail.com';
7
7
 
8
8
  export const TENANT_EMAILS = [
9
9
  {