From 033565a51a842767f55cea80d5b24594cefe3f0c Mon Sep 17 00:00:00 2001 From: "Nguyen Hoang Bao Khoi, Khoi" Date: Tue, 7 May 2024 11:31:48 +0200 Subject: [PATCH] syntax --- preprocess/initializer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/preprocess/initializer.py b/preprocess/initializer.py index c7b984e..cfad2ca 100644 --- a/preprocess/initializer.py +++ b/preprocess/initializer.py @@ -39,9 +39,9 @@ def table(connection): """ conversation_query = f""" CREATE TABLE `{config.get('DATABASE')}`.`conversation` - (`id` BIGINT NULL , + (`id` BIGINT , `in_reply_to_status_id` BIGINT NULL , - `in_reply_to_user_id' BIGINT NULL , + `in_reply_to_user_id` BIGINT NULL , PRIMARY KEY (id)) ENGINE=InnoDB """ connection.cursor().execute(tweet_query)