Files
Crimson-Gatekeeper/sql/init.sql

20 lines
564 B
MySQL
Raw Normal View History

2025-12-28 18:45:43 +08:00
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 '项目表,记录着可以登录的端点';