add new fixture

This commit is contained in:
John Krauss
2016-04-25 18:55:29 -04:00
parent dc66ec40c4
commit 73ab1ea58a
3 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
CREATE TABLE IF NOT EXISTS obs_65f29658e096ca1485bf683f65fdbc9f05ec3c5d (
cartodb_id integer NOT NULL,
the_geom public.geometry(Geometry,4326),
the_geom_webmercator public.geometry(Geometry,3857),
geoid text,
x10 text,
x2 text,
x31 text,
x55 text
);
INSERT INTO obs_65f29658e096ca1485bf683f65fdbc9f05ec3c5d (cartodb_id, the_geom,
the_geom_webmercator, geoid, x10, x2, x31, x55) VALUES (2150, NULL, NULL, '36047048500', 'Wealthy, urban without Kids', '8', '15', '1');
CREATE SCHEMA IF NOT EXISTS observatory;
ALTER TABLE obs_65f29658e096ca1485bf683f65fdbc9f05ec3c5d SET SCHEMA observatory;

View File

@@ -55,4 +55,6 @@ DROP TABLE observatory.obs_d34555209878e8c4b37cf0b2b3d072ff129ec470;
DROP TABLE observatory.obs_b0ef6dd68d5faddbf231fd7f02916b3d00ec43c4;
\echo Done.
DROP TABLE observatory.obs_65f29658e096ca1485bf683f65fdbc9f05ec3c5d.sql;
\unset ECHO

View File

@@ -55,4 +55,6 @@ SET client_min_messages TO WARNING;
\i test/fixtures/obs_b0ef6dd68d5faddbf231fd7f02916b3d00ec43c4.sql
\echo Done.
\i test/fixtures/obs_65f29658e096ca1485bf683f65fdbc9f05ec3c5d.sql
\unset ECHO