CREATE TABLE IF NOT EXISTS gigachatAudience (
    ID BIGSERIAL UNIQUE NOT NULL PRIMARY KEY,
    QuizID BIGINT NOT NULL,
    Sex BOOLEAN NOT NULL,
    Age VARCHAR(5) NOT NULL,
    Deleted BOOLEAN NOT NULL DEFAULT FALSE,
    CreatedAt TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    CONSTRAINT fk_quiz FOREIGN KEY (QuizID) REFERENCES quiz(ID)
);