From 4be03a3e984822852ab38b0a23a5b1d53493a9d1 Mon Sep 17 00:00:00 2001 From: Migan178 Date: Fri, 24 Nov 2023 12:46:42 +0900 Subject: [PATCH] fix: Syntax error --- scripts/create_table.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/create_table.sql b/scripts/create_table.sql index 02fbfeb..c42a502 100755 --- a/scripts/create_table.sql +++ b/scripts/create_table.sql @@ -25,6 +25,6 @@ CREATE TABLE command varchar(255) NOT NULL, result varchar(255) NOT NULL, user_id varchar(255) NOT NULL, - created_at datetime NOT NULL current_timestamp(), + created_at datetime NOT NULL DEFAULT current_timestamp(), primary key(`command`) ); \ No newline at end of file