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 '项目表，记录着可以登录的端点';
