добавлена форма заявки тестовая, тестовая сттраница crm база данных
Some checks failed
Auto Deploy / deploy (push) Failing after 45s
Some checks failed
Auto Deploy / deploy (push) Failing after 45s
This commit is contained in:
26
prisma/schema.prisma
Normal file
26
prisma/schema.prisma
Normal file
@@ -0,0 +1,26 @@
|
||||
generator client {
|
||||
provider = "prisma-client-js"
|
||||
}
|
||||
|
||||
datasource db {
|
||||
provider = "postgresql"
|
||||
}
|
||||
|
||||
enum LeadStatus {
|
||||
NEW
|
||||
IN_PROGRESS
|
||||
CALL_SCHEDULED
|
||||
WON
|
||||
LOST
|
||||
}
|
||||
|
||||
model Lead {
|
||||
id String @id @default(cuid())
|
||||
company String
|
||||
phone String
|
||||
message String?
|
||||
source String @default("website")
|
||||
status LeadStatus @default(NEW)
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
Reference in New Issue
Block a user