fix🐛: create the job sequence under the name the calibration uses

The setval below now targets sys_job_job_id_seq, the sequence job_id
actually uses, but the create above it still named sys_job_id_seq, so a
fresh PostgreSQL install was left with an unused sequence of that name.
This commit is contained in:
zhangwenjian
2026-09-26 14:31:36 +08:00
parent 2bf6ff2df4
commit b6595fb076
+1 -1
View File
@@ -7,7 +7,7 @@ create sequence if not exists sys_dict_type_dict_id_seq;
create sequence if not exists sys_dict_data_dict_code_seq;
create sequence if not exists sys_dept_dept_id_seq;
create sequence if not exists sys_config_id_seq;
create sequence if not exists sys_job_id_seq;
create sequence if not exists sys_job_job_id_seq;
select setval('sys_role_role_id_seq',4);
select setval('sys_user_user_id_seq',5);