Fix SQL syntax

Good God, Aleksei.
This commit is contained in:
Aleksei Voronov 2023-10-05 20:38:22 +02:00
parent 2062f0bb89
commit dec35a867c
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
CREATE TABLE IF NOT EXISTS Profile { CREATE TABLE IF NOT EXISTS Profile (
id INT GENERATED ALWAYS AS IDENTITY, id INT GENERATED ALWAYS AS IDENTITY,
first_seen_at TIMESTAMP WITH TIME ZONE DEFAULT NOW(), first_seen_at TIMESTAMP WITH TIME ZONE DEFAULT NOW(),
did TEXT UNIQUE, did TEXT UNIQUE,
has_been_processed BOOLEAN DEFAULT FALSE, has_been_processed BOOLEAN DEFAULT FALSE,
likely_country_of_living varchar(2) NULL DEFAULT NULL likely_country_of_living varchar(2) NULL DEFAULT NULL
} );
CREATE TABLE IF NOT EXISTS Post ( CREATE TABLE IF NOT EXISTS Post (
id INT GENERATED ALWAYS AS IDENTITY, id INT GENERATED ALWAYS AS IDENTITY,