Configure iD and openstreetmap-website to use local postgresql DB imported with osm2pgsql
I would like to create my own local openstreetmap-website with iD editor and edit local postgres database which was imported with osm2pgsql.
Here is the list of tables osm2pgsql made:
gis=# \dt
List of relations
Schema | Name | Type | Owner
--------+--------------------+-------+-------
public | planet_osm_line | table | osm
public | planet_osm_nodes | table | osm
public | planet_osm_point | table | osm
public | planet_osm_polygon | table | osm
public | planet_osm_rels | table | osm
public | planet_osm_roads | table | osm
public | planet_osm_ways | table | osm
public | spatial_ref_sys | table | osm
openstreetmap-website DB scheme is quite different:
current_relation_members
current_relation_tags
current_relations
current_way_nodes
current_way_tags
current_ways
How should I correspond the osm2pgsql and openstreetmap-website DB schemes?