ALTER TABLE "questionnaire"
    ADD COLUMN "daily_limit" int4 default 1,
    ADD COLUMN "weekly_limit" int4 default 1;

COMMENT ON COLUMN "questionnaire"."daily_limit" IS '每日限额提醒';
COMMENT ON COLUMN "questionnaire"."weekly_limit" IS '每周限额提醒';


ALTER TABLE "user_limit_record"
    ADD COLUMN "previous_weekly_limit" int4 default 0,
    ADD COLUMN "new_weekly_limit" int4 default 0,
    ADD COLUMN "previous_daily_limit" int4 default 0,
    ADD COLUMN "new_daily_limit" int4 default 0;




