Postgres create table

CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
CREATE TABLE mytable (
    id UUID DEFAULT uuid_generate_v4() PRIMARY KEY,
    created_at TIMESTAMPTZ DEFAULT now() NOT NULL
);

CREATE TABLE mytable (
    id      BIGSERIAL PRIMARY KEY,
    raw     JSONB NOT NULL,
    created_at TIMESTAMPTZ DEFAULT now() NOT NULL
);