ALTER TABLE "py_erp_random_code"
    ADD COLUMN "list_id"      int4,
    ADD COLUMN "sets_version" varchar(255);

CREATE INDEX "pr_r_c_list_id" ON "py_erp_random_code" USING btree (
                                                                   "list_id" "pg_catalog"."int4_ops" ASC NULLS LAST
    );

COMMENT ON COLUMN "py_erp_random_code"."list_id" IS '拼团listid';

COMMENT ON COLUMN "py_erp_random_code"."sets_version" IS '系列版本';
-- act_sale_code
ALTER TABLE "act_sale_code"
    ADD COLUMN "list_id" int4;

CREATE INDEX "gsc-list-id" ON "act_sale_code" USING btree (
                                                           "list_id" "pg_catalog"."int4_ops" ASC NULLS LAST
    );

COMMENT ON COLUMN "act_sale_code"."list_id" IS '拼团list id';