初始化提交
This commit is contained in:
19
sql/init.sql
Normal file
19
sql/init.sql
Normal file
@@ -0,0 +1,19 @@
|
||||
CREATE TABLE public.user (
|
||||
id bigint PRIMARY KEY ,
|
||||
create_time timestamp NOT NULL ,
|
||||
last_update timestamp NOT NULL,
|
||||
name text NOT NULL ,
|
||||
account text NOT NULL ,
|
||||
password text NOT NULL
|
||||
);
|
||||
|
||||
COMMENT ON TABLE public.user IS '基础用户表,记录用户在系统内的昵称,登录凭证和密码';
|
||||
|
||||
CREATE TABLE public.program (
|
||||
id bigint PRIMARY KEY ,
|
||||
create_time timestamp NOT NULL ,
|
||||
last_update timestamp NOT NULL ,
|
||||
name text NOT NULL
|
||||
);
|
||||
|
||||
COMMENT ON TABLE public.program IS '项目表,记录着可以登录的端点';
|
||||
Reference in New Issue
Block a user