Browse Source

Merge branch 'westt/add_sql' of rongrunxiang/OnlineJudge into master

rongrunxiang 1 year ago
parent
commit
067ca8af05
1 changed files with 26 additions and 0 deletions
  1. 26 0
      sql/建表语句.sql

+ 26 - 0
sql/建表语句.sql

@@ -0,0 +1,26 @@
+create table question_submit
+(
+	id bigint not null
+		primary key,
+	language varchar(50) null,
+	code varchar(5000) null,
+	judge_info varchar(500) null,
+	status int null,
+	question_id bigint null,
+	user_id bigint null,
+	create_time datetime null,
+	update_time datetime null,
+	user_cases varchar(5000) null,
+	output varchar(5000) null,
+	judge_mode int null,
+	is_delete int null
+);
+
+create table user
+(
+	id bigint auto_increment
+		primary key,
+	username varchar(100) not null,
+	password varchar(100) not null
+);
+