16 lines
407 B
SQL
16 lines
407 B
SQL
CREATE TABLE "alpla_purchase_history" (
|
|
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
|
|
"apo" integer,
|
|
"revision" integer,
|
|
"confirmed" integer,
|
|
"status" integer,
|
|
"status_text" integer,
|
|
"add_date" timestamp DEFAULT now(),
|
|
"upd_date" timestamp DEFAULT now(),
|
|
"add_user" text,
|
|
"upd_user" text,
|
|
"remark" text,
|
|
"position" jsonb DEFAULT '[]'::jsonb,
|
|
"created_at" timestamp DEFAULT now()
|
|
);
|