From 79b8122df6196c8568c184624bc23ff8102d463f Mon Sep 17 00:00:00 2001 From: xuanzhi33 Date: Sat, 20 Jul 2024 11:42:03 +0800 Subject: [PATCH] chore: Update DB --- server/java/carproject-server/init_database.sql | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/server/java/carproject-server/init_database.sql b/server/java/carproject-server/init_database.sql index 6e55a41..478cdc0 100644 --- a/server/java/carproject-server/init_database.sql +++ b/server/java/carproject-server/init_database.sql @@ -2,9 +2,7 @@ create table sensor_data ( id int auto_increment primary key, - user varchar(50) not null, - data text null, + user varchar(50) not null, + data mediumtext null, create_time datetime default CURRENT_TIMESTAMP not null ); - -