This commit is contained in:
Vins 2024-09-10 10:15:53 +02:00
parent 982be25e5b
commit 41efb43543
2 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,9 @@
/*
Warnings:
- You are about to drop the column `document_name` on the `documents_notary` table. All the data in the column will be lost.
*/
-- AlterTable
ALTER TABLE "documents_notary" DROP COLUMN "document_name",
ADD COLUMN "document" VARCHAR(255) NOT NULL DEFAULT '';

View File

@ -234,7 +234,7 @@ model DocumentsNotary {
files FilesNotary[] files FilesNotary[]
customer Customers @relation(fields: [customer_uid], references: [uid], onDelete: Cascade) customer Customers @relation(fields: [customer_uid], references: [uid], onDelete: Cascade)
customer_uid String @db.VarChar(255) customer_uid String @db.VarChar(255)
document_name String @db.VarChar(255) @default("") document String @db.VarChar(255) @default("")
@@map("documents_notary") @@map("documents_notary")
} }