初始化提交

This commit is contained in:
des
2025-12-28 18:45:43 +08:00
commit 960d7e6fcc
7 changed files with 113 additions and 0 deletions

19
sql/init.sql Normal file
View 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 '项目表,记录着可以登录的端点';