From dec35a867c7637264c02dbf6dd798f7347d81ee8 Mon Sep 17 00:00:00 2001 From: Aleksei Voronov Date: Thu, 5 Oct 2023 20:38:22 +0200 Subject: [PATCH] Fix SQL syntax Good God, Aleksei. --- sql/01_create_tables.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/01_create_tables.sql b/sql/01_create_tables.sql index 51165cd..b10b070 100644 --- a/sql/01_create_tables.sql +++ b/sql/01_create_tables.sql @@ -1,10 +1,10 @@ -CREATE TABLE IF NOT EXISTS Profile { +CREATE TABLE IF NOT EXISTS Profile ( id INT GENERATED ALWAYS AS IDENTITY, first_seen_at TIMESTAMP WITH TIME ZONE DEFAULT NOW(), did TEXT UNIQUE, has_been_processed BOOLEAN DEFAULT FALSE, likely_country_of_living varchar(2) NULL DEFAULT NULL -} +); CREATE TABLE IF NOT EXISTS Post ( id INT GENERATED ALWAYS AS IDENTITY,