· 3 years ago · May 25, 2022, 08:50 PM
1-- Table: cep.estado
2
3-- DROP TABLE IF EXISTS cep.estado;
4
5CREATE TABLE IF NOT EXISTS cep.estado
6(
7 id integer NOT NULL DEFAULT nextval('cep.estado_id_seq'::regclass),
8 nome character varying COLLATE pg_catalog."default",
9 uf character varying(2) COLLATE pg_catalog."default",
10 CONSTRAINT estado_pkey PRIMARY KEY (id),
11 CONSTRAINT estado_uf_key UNIQUE (uf)
12)
13
14TABLESPACE pg_default;
15
16ALTER TABLE IF EXISTS cep.estado
17 OWNER to postgres;