Files
shgx_tz_mes_backend_sync/server/document/oracle/seq.txt
xiaowei.song 127c428a9e 油漆
2024-06-06 13:19:24 +08:00

47 lines
646 B
Plaintext

--通用序列id
create sequence SEQ_ID
minvalue 1
maxvalue 99999999
start with 1
increment by 1
nocache
order;
--角色表序列id
create sequence SEQ_SYS_ROLE_ROLEID
minvalue 10
maxvalue 99999999
start with 10
increment by 1
nocache
order;
--菜单表序列id
create sequence SEQ_SYS_MENU_MENUID
minvalue 2000
maxvalue 99999999
start with 2000
increment by 1
nocache
order;
--用户表序列id
create sequence SEQ_SYS_USER_USERID
minvalue 100
maxvalue 99999999
start with 1
increment by 100
nocache
order;
--部门表序列id
create sequence SEQ_SYS_DEPT_DEPTID
minvalue 200
maxvalue 99999999
start with 200
increment by 1
nocache
order;