pour restart la sequence node id
This commit is contained in:
parent
769db361d9
commit
ace0deb9b4
|
@ -18,6 +18,9 @@ TRUNCATE TABLE osm_roads_pgr ;
|
|||
TRUNCATE TABLE osm_roads_pgr_noded ;
|
||||
TRUNCATE TABLE osm_roads_pgr_vertices_pgr ;
|
||||
|
||||
-- reset de la sequence
|
||||
ALTER SEQUENCE public.osm_roads_pgr_noded_id_seq RESTART WITH 1 ;
|
||||
|
||||
-- on remplit la couche de lignes
|
||||
INSERT INTO osm_roads_pgr
|
||||
( SELECT
|
||||
|
|
Loading…
Reference in a new issue