Modify sequence name to match dumps, table global_postal_code_points

This commit is contained in:
Rafa de la Torre
2015-11-04 15:09:45 +01:00
parent 0f4754aa24
commit f06029cfd7

View File

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