13 lines
460 B
SQL
13 lines
460 B
SQL
CREATE TABLE "crm_enquiry_customers" (
|
|
"id" text PRIMARY KEY NOT NULL,
|
|
"organization_id" text NOT NULL,
|
|
"enquiry_id" text NOT NULL,
|
|
"customer_id" text NOT NULL,
|
|
"role" text NOT NULL,
|
|
"remark" text,
|
|
"created_at" timestamp with time zone DEFAULT now() NOT NULL,
|
|
"updated_at" timestamp with time zone DEFAULT now() NOT NULL,
|
|
"deleted_at" timestamp with time zone
|
|
);
|
|
--> statement-breakpoint
|
|
ALTER TABLE "crm_quotation_customers" ADD COLUMN "remark" text; |