CREATE DATABASE clog;

\connect clog

CREATE TABLE posts (
    id BIGINT NOT NULL, -- PRIMARY KEY UUID
    title CHARACTER VARYING NOT NULL,
    body CHARACTER VARYING NOT NULL,
    created_at TIMESTAMP NOT NULL DEFAULT NOW(),
    updated_at TIMESTAMP NOT NULL DEFAULT NOW()
);
