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,