task-d.5.3
This commit is contained in:
@@ -275,14 +275,22 @@ export const crmLeads = pgTable(
|
||||
code: text('code').notNull(),
|
||||
customerId: text('customer_id'),
|
||||
contactId: text('contact_id'),
|
||||
description: text('description'),
|
||||
projectName: text('project_name'),
|
||||
projectLocation: text('project_location'),
|
||||
productType: text('product_type'),
|
||||
priority: text('priority'),
|
||||
estimatedValue: doublePrecision('estimated_value'),
|
||||
awarenessId: text('awareness_id'),
|
||||
status: text('status').default('new_job').notNull(),
|
||||
followupStatus: text('followup_status'),
|
||||
lostReason: text('lost_reason'),
|
||||
outcome: text('outcome').default('open').notNull(),
|
||||
ownerMarketingUserId: text('owner_marketing_user_id'),
|
||||
assignedSalesOwnerId: text('assigned_sales_owner_id'),
|
||||
assignedAt: timestamp('assigned_at', { withTimezone: true }),
|
||||
assignedBy: text('assigned_by'),
|
||||
assignmentRemark: text('assignment_remark'),
|
||||
createdBy: text('created_by').notNull(),
|
||||
createdAt: timestamp('created_at', { withTimezone: true }).defaultNow().notNull(),
|
||||
updatedAt: timestamp('updated_at', { withTimezone: true }).defaultNow().notNull(),
|
||||
|
||||
Reference in New Issue
Block a user