Adding registration date and multiple addresses for contacts and leads.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "Person" ADD COLUMN IF NOT EXISTS "instagram" TEXT;
|
||||
ALTER TABLE "Person" ADD COLUMN IF NOT EXISTS "addresses" JSONB NOT NULL DEFAULT '[]';
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "Lead" ADD COLUMN IF NOT EXISTS "instagram" TEXT;
|
||||
ALTER TABLE "Lead" ADD COLUMN IF NOT EXISTS "addresses" JSONB NOT NULL DEFAULT '[]';
|
||||
@@ -432,8 +432,12 @@ model Person {
|
||||
position String?
|
||||
/// آدرس وبسایت
|
||||
website String?
|
||||
/// پیج اینستاگرام
|
||||
instagram String?
|
||||
/// نام معرف
|
||||
referrer String?
|
||||
/// لیست آدرسها (JSON array of strings)
|
||||
addresses Json @default("[]")
|
||||
notes String?
|
||||
mood PersonMood @default(newcomer)
|
||||
tags String[] @default([])
|
||||
@@ -2064,6 +2068,10 @@ model Lead {
|
||||
phone String?
|
||||
city String?
|
||||
region String?
|
||||
/// پیج اینستاگرام
|
||||
instagram String?
|
||||
/// لیست آدرسها (JSON array of strings)
|
||||
addresses Json @default("[]")
|
||||
/// صنف
|
||||
trade String?
|
||||
source String?
|
||||
|
||||
Reference in New Issue
Block a user