Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions GoScan/Web/document/GoScan.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ CREATE TABLE "users"
"phone" varchar(20),
"email" varchar(100),
"remark" text,
"create_at" timestamp DEFAULT NULL,
)
"create_at" timestamp DEFAULT NULL
);

/*用户登录ip锁定表*/
DROP TABLE IF EXISTS "user_ip";
CREATE TABLE "user_ip"(
"id" SERIAL PRIMARY KEY,
"ip" varchar(50) NOT NULL UNIQUE,
"lock" int,
"create_at" timestamp DEFAULT NULL,
"create_at" timestamp DEFAULT NULL
);

/*用户登录日志表*/
Expand All @@ -29,7 +29,7 @@ CREATE TABLE "user_log"(
"username" varchar(20) NOT NULL,
"ip" varchar(50) NOT NULL,
"user_agent" text,
"create_at" timestamp DEFAULT NULL,
"create_at" timestamp DEFAULT NULL
);

/*用户操作记录表*/
Expand Down