-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_ponto_drenagem.txt
42 lines (33 loc) · 1.08 KB
/
ft_ponto_drenagem.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
-- SEQUENCE: public.ft_ponto_drenagem_gid_seq
-- DROP SEQUENCE public.ft_ponto_drenagem_gid_seq;
CREATE SEQUENCE public.ft_ponto_drenagem_gid_seq
INCREMENT 1
START 1
MINVALUE 1
MAXVALUE 2147483647
CACHE 1;
ALTER SEQUENCE public.ft_ponto_drenagem_gid_seq
OWNER TO postgres;
-- Table: public.ft_ponto_drenagem
-- DROP TABLE public.ft_ponto_drenagem;
CREATE TABLE public.ft_ponto_drenagem
(
gid integer NOT NULL DEFAULT nextval('ft_ponto_drenagem_gid_seq'::regclass),
PDR_CD bigint,
PDR_CD_CURSO_DAGUA character varying(254) COLLATE pg_catalog."default",
PDR_DS character varying(254) COLLATE pg_catalog."default",
geom geometry(MultiPoint),
CONSTRAINT ft_ponto_drenagem_pkey PRIMARY KEY (gid)
)
WITH (
OIDS = FALSE
)
TABLESPACE pg_default;
ALTER TABLE public.ft_ponto_drenagem
OWNER to postgres;
-- Index: ft_ponto_drenagem_geom_idx
-- DROP INDEX public.ft_ponto_drenagem_geom_idx;
CREATE INDEX ft_ponto_drenagem_geom_idx
ON public.ft_ponto_drenagem USING gist
(geom)
TABLESPACE pg_default;