mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-09-29 12:31:11 +00:00
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:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user