Advertisement
Guest User

Untitled

a guest
Sep 4th, 2015
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. -- Table: categorias25830
  2.  
  3. -- DROP TABLE categorias25830;
  4.  
  5. CREATE TABLE categorias25830
  6. (
  7. pid serial NOT NULL,
  8. geom geometry(Point,25830),
  9. merchant_category_key character varying,
  10. merchant_sub_category_key character varying,
  11. merchant_latitude double precision,
  12. merchant_longitude double precision,
  13. n_transacciones_total integer,
  14. ingresos double precision,
  15. CONSTRAINT categorias25830_pkey PRIMARY KEY (pid)
  16. )
  17. WITH (
  18. OIDS=FALSE
  19. );
  20. ALTER TABLE categorias25830
  21. OWNER TO postgres;
  22.  
  23. -- Index: sidx_categorias25830_geom
  24.  
  25. -- DROP INDEX sidx_categorias25830_geom;
  26.  
  27. CREATE INDEX sidx_categorias25830_geom
  28. ON categorias25830
  29. USING gist
  30. (geom);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement