ALTER TABLE "public"."card_group_lives_config"
  ADD COLUMN "live_like_num" int4 DEFAULT 0;

COMMENT ON COLUMN "public"."card_group_lives_config"."live_like_num" IS '直播间点赞总数';

CREATE TABLE "public"."card_group_lives_like" (
  "id" INT GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
  "code" varchar(255),
  "like_num" int4,
  "merchant_id" int4,
  "user_id" int4,
  "type" varchar(255)
)
;

COMMENT ON COLUMN "public"."card_group_lives_like"."id" IS 'id';

COMMENT ON COLUMN "public"."card_group_lives_like"."code" IS '直播间code';

COMMENT ON COLUMN "public"."card_group_lives_like"."like_num" IS '点赞总数';

COMMENT ON COLUMN "public"."card_group_lives_like"."merchant_id" IS '商家id';

COMMENT ON COLUMN "public"."card_group_lives_like"."user_id" IS '用户id';

COMMENT ON COLUMN "public"."card_group_lives_like"."type" IS '直播类型: 商城/拼团';
