feat: adjust data type
This commit is contained in:
parent
e3dac5529f
commit
05dfe42b2e
6 changed files with 2112 additions and 4 deletions
|
|
@ -2,6 +2,10 @@ generator client {
|
|||
provider = "prisma-client-js"
|
||||
}
|
||||
|
||||
generator kysely {
|
||||
provider = "prisma-kysely"
|
||||
}
|
||||
|
||||
datasource db {
|
||||
provider = "postgresql"
|
||||
url = env("DATABASE_URL")
|
||||
|
|
@ -644,9 +648,9 @@ model Product {
|
|||
name String
|
||||
detail String
|
||||
process Int
|
||||
price Int
|
||||
agentPrice Int
|
||||
serviceCharge Int
|
||||
price Float
|
||||
agentPrice Float
|
||||
serviceCharge Float
|
||||
|
||||
status Status @default(CREATED)
|
||||
statusOrder Int @default(0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue