初步搭建
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
CREATE TABLE public.user (
|
||||
CREATE TABLE public.users (
|
||||
id bigint PRIMARY KEY ,
|
||||
create_time timestamp NOT NULL ,
|
||||
last_update_time timestamp NOT NULL,
|
||||
@@ -7,13 +7,13 @@ CREATE TABLE public.user (
|
||||
passwd text NOT NULL
|
||||
);
|
||||
|
||||
COMMENT ON TABLE public.user IS '基础用户表,记录用户在系统内的昵称';
|
||||
COMMENT ON COLUMN public.user.id IS '用户ID';
|
||||
COMMENT ON COLUMN public.user.name IS '用户在系统内的名称';
|
||||
COMMENT ON COLUMN public.user.account IS '用户登录凭证';
|
||||
COMMENT ON COLUMN public.user.passwd IS '用户登录密钥';
|
||||
COMMENT ON TABLE public.users IS '基础用户表,记录用户在系统内的昵称';
|
||||
COMMENT ON COLUMN public.users.id IS '用户ID';
|
||||
COMMENT ON COLUMN public.users.name IS '用户在系统内的名称';
|
||||
COMMENT ON COLUMN public.users.account IS '用户登录凭证';
|
||||
COMMENT ON COLUMN public.users.passwd IS '用户登录密钥';
|
||||
|
||||
INSERT INTO public.user VALUES (0, transaction_timestamp(), transaction_timestamp(), '绯红先知', 'admin', 'fh123456');
|
||||
INSERT INTO public.users VALUES (0, transaction_timestamp(), transaction_timestamp(), '绯红先知', 'admin', 'fh123456');
|
||||
|
||||
CREATE TABLE public.system (
|
||||
id bigint PRIMARY KEY ,
|
||||
|
||||
Reference in New Issue
Block a user