updated to create tables to specif schema
This commit is contained in:
+3
-27
@@ -1,19 +1,5 @@
|
||||
--
|
||||
-- PostgreSQL database dump
|
||||
--
|
||||
|
||||
SET statement_timeout = 0;
|
||||
SET lock_timeout = 0;
|
||||
SET client_encoding = 'UTF8';
|
||||
SET standard_conforming_strings = on;
|
||||
SET check_function_bodies = false;
|
||||
SET client_min_messages = warning;
|
||||
|
||||
SET search_path = observatory, pg_catalog;
|
||||
|
||||
--
|
||||
-- Data for Name: obs_column_table; Type: TABLE DATA; Schema: observatory; Owner: cartodb_user_d377e55d-4326-4faf-97c7-503535e81667
|
||||
--
|
||||
CREATE TABLE obs_column_table(cartodb_id bigint, the_geom geometry, the_geom_webmercator geometry, column_id text, table_id text, colname text, extra json);
|
||||
|
||||
INSERT INTO obs_column_table (cartodb_id, the_geom, the_geom_webmercator, column_id, table_id, colname, extra) VALUES (2, NULL, NULL, '"us.bls".own_code', '"us.bls".raw_qcew_2013_dd20d99063', 'own_code', NULL);
|
||||
INSERT INTO obs_column_table (cartodb_id, the_geom, the_geom_webmercator, column_id, table_id, colname, extra) VALUES (463, NULL, NULL, '"us.ny.nyc.opendata".lot', '"us.ny.nyc.opendata".acris_legals_99914b932b', 'lot', NULL);
|
||||
@@ -1472,15 +1458,5 @@ INSERT INTO obs_column_table (cartodb_id, the_geom, the_geom_webmercator, column
|
||||
INSERT INTO obs_column_table (cartodb_id, the_geom, the_geom_webmercator, column_id, table_id, colname, extra) VALUES (1928, NULL, NULL, '"us.census.acs"."us.census.acs".B19001016_quantile', '"us.census.acs".quantiles_block_group_5yr_2013_69b156927c', 'income_150000_199999_quantile', NULL);
|
||||
INSERT INTO obs_column_table (cartodb_id, the_geom, the_geom_webmercator, column_id, table_id, colname, extra) VALUES (1929, NULL, NULL, '"us.census.acs"."us.census.acs".B19001017_quantile', '"us.census.acs".quantiles_block_group_5yr_2013_69b156927c', 'income_200000_or_more_quantile', NULL);
|
||||
|
||||
|
||||
--
|
||||
-- Name: obs_column_table_cartodb_id_seq; Type: SEQUENCE SET; Schema: observatory; Owner: cartodb_user_d377e55d-4326-4faf-97c7-503535e81667
|
||||
--
|
||||
|
||||
SELECT pg_catalog.setval('obs_column_table_cartodb_id_seq', 1929, true);
|
||||
|
||||
|
||||
--
|
||||
-- PostgreSQL database dump complete
|
||||
--
|
||||
|
||||
CREATE SCHEMA IF NOT EXISTS observatory;
|
||||
ALTER TABLE obs_column_table SET SCHEMA observatory;
|
||||
|
||||
Reference in New Issue
Block a user