CREATE TABLE "complaint" ("id" serial  NOT NULL, "product_name" VARCHAR(255) NOT NULL, "guarantee_card_number" INTEGER NOT NULL, "serial_number" INTEGER NOT NULL, "invoice_number" INTEGER NOT NULL, "from_day" DATE NOT NULL, "invoice_date" DATE NOT NULL, "person_position" VARCHAR(255) NOT NULL, "person_phone" VARCHAR(15) NOT NULL, "person_address" VARCHAR(255) NOT NULL, "remark" TEXT NOT NULL, "current_date" DATE NOT NULL, "place" VARCHAR(255) NOT NULL, PRIMARY KEY ("id"));