CREATE TABLE "userlogs" (
    "id"                   uuid PRIMARY KEY,
    "user_id"              INT NOT NULL,
    "activity_type"        VARCHAR NOT NULL,
    "activity_description" VARCHAR NOT NULL,
    "ip_address"           VARCHAR NOT NULL,
    "user_agent"           VARCHAR NOT NULL,
    "created_at"           TIMESTAMPTZ NOT NULL DEFAULT(now())
);
ALTER TABLE "userlogs" ADD FOREIGN KEY ("user_id") REFERENCES "users" ("id");