joaofabioma

table acesso

May 25th, 2022 (edited)
768
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Table: public.acesso
  2.  
  3. -- DROP TABLE IF EXISTS public.acesso;
  4.  
  5. CREATE TABLE IF NOT EXISTS public.acesso
  6. (
  7.     id_acesso bigserial NOT NULL,
  8.     xid bigint DEFAULT txid_current(),
  9.     statusapagado boolean DEFAULT false,
  10.     ip character varying(15) COLLATE pg_catalog."default",
  11.     datahoraacesso timestamp with time zone DEFAULT CURRENT_TIMESTAMP(0),
  12.     referer text COLLATE pg_catalog."default",
  13.     CONSTRAINT acesso_pkey PRIMARY KEY (id_acesso)
  14. )
  15.  
  16. TABLESPACE pg_default;
  17.  
  18. ALTER TABLE IF EXISTS public.acesso
  19.     OWNER to postgres;
Add Comment
Please, Sign In to add comment