Modify sequence name to match dumps, table global_postal_code_polygons

This commit is contained in:
Rafa de la Torre 2015-11-04 15:12:40 +01:00
parent f06029cfd7
commit 016e5af85a

View File

@ -283,14 +283,14 @@ CREATE TABLE global_postal_code_polygons (
);
CREATE SEQUENCE global_postal_code_polygons_cartodb_id_seq
CREATE SEQUENCE tl_2013_us_zcta510_cartodb_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE global_postal_code_polygons_cartodb_id_seq OWNED BY global_postal_code_polygons.cartodb_id;
ALTER TABLE ONLY global_postal_code_polygons ALTER COLUMN cartodb_id SET DEFAULT nextval('global_postal_code_polygons_cartodb_id_seq'::regclass);
ALTER SEQUENCE tl_2013_us_zcta510_cartodb_id_seq OWNED BY global_postal_code_polygons.cartodb_id;
ALTER TABLE ONLY global_postal_code_polygons ALTER COLUMN cartodb_id SET DEFAULT nextval('tl_2013_us_zcta510_cartodb_id_seq'::regclass);
ALTER TABLE ONLY global_postal_code_polygons