-- Where a new member came from, for the admin statistics. Set once, at -- sign-up, from that visit: the kind of source (Facebook, a search engine, -- typed in…), the referring site's address without its path, or the link's -- campaign tags, and the device type. Nothing is stored about visitors who -- do not sign up. NULL for the members who signed up before this. ALTER TABLE users ADD COLUMN signup_source text CHECK (signup_source IN ('facebook', 'instagram', 'messenger', 'tiktok', 'google', 'bing', 'search', 'email', 'app', 'other', 'direct')); ALTER TABLE users ADD COLUMN signup_detail text CHECK (char_length(signup_detail) <= 200); ALTER TABLE users ADD COLUMN signup_device text CHECK (signup_device IN ('mobile', 'tablet', 'desktop'));