WebsiteVisit Table

From truxwiki.com
Revision as of 15:39, 21 May 2020 by Sam (talk | contribs) (Created page with "This is how Truxton records website visits. <syntaxhighlight lang="SQL"> CREATE TABLE "WebsiteVisit" ( "ID" uuid NOT NULL, "URLTypeID" smallint, "URLID" bigint DEF...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is how Truxton records website visits.

CREATE TABLE "WebsiteVisit" (
    "ID" uuid NOT NULL,
    "URLTypeID" smallint,
    "URLID" bigint DEFAULT 0 NOT NULL,
    "When" timestamp without time zone NOT NULL,
    "AccountID" bigint DEFAULT 0 NOT NULL,
    "WebsiteMethodID" smallint DEFAULT 0 NOT NULL,
    "FileID" uuid DEFAULT '00000000-0000-0000-0000-000000000000'::uuid NOT NULL,
    "MediaID" uuid DEFAULT '00000000-0000-0000-0000-000000000000'::uuid NOT NULL,
    "LocalFilename" text DEFAULT ''::text NOT NULL,
    "Offset" bigint DEFAULT (-1) NOT NULL,
    "DomainID" bigint DEFAULT 0 NOT NULL,
    "LocalFileID" uuid DEFAULT '00000000-0000-0000-0000-000000000000'::uuid NOT NULL
);