|
|
@ -23,4 +23,14 @@ create unique index t_user_id_uindex |
|
|
|
on t_user (id); |
|
|
|
|
|
|
|
|
|
|
|
create table t_user_token |
|
|
|
( |
|
|
|
token varchar(64) not null |
|
|
|
constraint user_token_pk |
|
|
|
primary key, |
|
|
|
user_info jsonb not null, |
|
|
|
expired timestamp(6) with time zone not null |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
INSERT INTO public.t_user (id, name, username, password) VALUES (DEFAULT, '超级管理员', 'SuperAdmin', 'e10adc3949ba59abbe56e057f20f883e') |