chore: update migration
This commit is contained in:
parent
7e104a0020
commit
b57cd6ac95
2 changed files with 14 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
Warnings:
|
||||
|
||||
- Added the required column `code` to the `CustomerBranch` table without a default value. This is not possible if the table is not empty.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "CustomerBranch" ADD COLUMN "code" TEXT NOT NULL;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "Product" ADD COLUMN "attributes" JSONB;
|
||||
|
|
@ -350,6 +350,7 @@ model Customer {
|
|||
model CustomerBranch {
|
||||
id String @id @default(uuid())
|
||||
branchNo Int
|
||||
code String
|
||||
legalPersonNo String
|
||||
|
||||
name String
|
||||
|
|
@ -638,6 +639,8 @@ model Product {
|
|||
|
||||
workProduct WorkProduct[]
|
||||
|
||||
attributes Json?
|
||||
|
||||
createdBy String?
|
||||
createdAt DateTime @default(now())
|
||||
updateBy String?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue