diff --git a/BaiHu/Temp/e883021a-fc03-513c-d133-24a34c0f37c3.jpg b/BaiHu/Temp/e883021a-fc03-513c-d133-24a34c0f37c3.jpg new file mode 100644 index 00000000..8b4c7446 Binary files /dev/null and b/BaiHu/Temp/e883021a-fc03-513c-d133-24a34c0f37c3.jpg differ diff --git a/QingLong/PG创建自增长序列的手动方法.txt b/QingLong/PG创建自增长序列的手动方法.txt index 0502a58d..7364a81b 100644 --- a/QingLong/PG创建自增长序列的手动方法.txt +++ b/QingLong/PG创建自增长序列的手动方法.txt @@ -23,4 +23,6 @@ COMMENT ON COLUMN "public"."t_hy_user"."gold_count" IS '金豆数量'; COMMENT ON COLUMN "public"."t_hy_user"."nick_name" IS '微信昵称'; COMMENT ON COLUMN "public"."t_hy_user"."last_login_time" IS '最后一次登录时间'; -TRUNCATE TABLE t_hy_task RESTART IDENTITY; \ No newline at end of file +-- 清空表并且还原序列 +TRUNCATE TABLE t_hy_task; +ALTER SEQUENCE t_hy_task_task_id_seq RESTART WITH 1; \ No newline at end of file