CREATE TABLE public core_userdebuginform ation id integer NOT NULL DEF

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
CREATE TABLE public.core_userdebuginformation
(
id integer NOT NULL DEFAULT nextval('core_userdebuginformation_id_seq'::regclass),
user_id integer,
last_modified timestamp with time zone,
latest_device_used character varying(200),
latest_os_used character varying(200),
latest_browser_used character varying(200),
latest_ip_used inet,
CONSTRAINT core_userdebuginformation_pkey PRIMARY KEY (id),
CONSTRAINT core_userdebuginf_user_id_511993c78b660ce6_fk_core_duggauser_id FOREIGN KEY (user_id)
REFERENCES public.core_duggauser (id) MATCH SIMPLE
ON UPDATE NO ACTION ON DELETE NO ACTION DEFERRABLE INITIALLY DEFERRED,
CONSTRAINT core_userdebuginformation_user_id_key UNIQUE (user_id)
)
WITH (
OIDS=FALSE
);
ALTER TABLE public.core_userdebuginformation
OWNER TO postgres;